This project is not covered by Drupal’s security advisory policy.

This module solves a problem where:

  • An organization is funded by multiple funding organizations
  • The organization and its website are multilingual
  • According to the funding agreement, the funder logos must be displayed with specific alt text, in all languages
  • Logos may or may not have a translated version
  • Logos may need to be displayed in reversed (light on dark) or standard variants
  • Maintainers want to be able to export the logo image paths and alt text as configuration, instead of having to update it on each environment during development
  • Maintainers want the module to automatically find a translated or reversed logo version instead of having to enter it manually

Features

Provides a configurable entity to add funding organizations. Organizations have fields for organization name, link, alt text, logo image path (default), and logo image (reversed). The module will look in the same folder for translated versions, using the language abbreviation.

Funding organizations can then displayed in a block with option to check which organizations to show, and to use reversed logos if available.

The module includes a component with some basic styling. This will probably need to be overridden or adjusted depending on your use case(s) and the number of logos.

Post-Installation

  1. Put your funding organization logos in a folder committed to version control. It could go in a custom module or your theme. Language variations should use the same file names as the default language with the langcode appended (e.g. funder-logo-fr.png). Reversed variation should have --reversed appended (e.g. funder-logo-reversed.png).
  2. Go to Admin > Structure > Funding organizations and add your organizations
  3. Add a Funding organizations block in your Block Layout or Layout Builder
  4. If the display doesn't work for you, copy the funding organization components to your own theme and customize as needed
  5. Export config. Now this can be deployed to other environments
Supporting organizations: 
Supported initial development and specifications
Initial development & maintenance

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Multilingual
  • Created by megan_m on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases