You are here

function content_moderation_notifications_tokens in Content Moderation Notifications 8.3

Implements hook_tokens().

File

./content_moderation_notifications.tokens.inc, line 21
Content moderation notifications token support.

Code

function content_moderation_notifications_tokens($type, array $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(Tokens::class)
    ->getTokens($type, $tokens, $data, $options, $bubbleable_metadata);
}