Provides a token [consumers:current-name] for consumers name replacement depending on what consumer has requested the token.

Example use case

The example use case for the module is Meta Tags. Imagine you've got a Drupal backend which serves multiple frontend applications (websites). Having metatags configuration for nodes like [node:title] | [site:name] is wrong, because Drupal supports only one site name, but we want site name to be different per frontend application. The correct solution here is to return the name of the Consumer depending on which consumer has requested the meta tags. So changing the metatags config to something like [node:title] | [consumers:current-name] will do the trick.

Dependencies

Consumers module is the only dependency.

Supporting organizations: 
Support

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Decoupled
  • Ecosystem: Consumers
  • Created by spleshka on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases