Consumers Token
This module allows you to dynamically insert the name of the requesting consumer into content. This is useful for scenarios where your Drupal site serves multiple applications and you need to customize output like meta tags based on which application is making the request.
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.