consumers_token
Security covered
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.