You are here

function workbench_access_tokens in Workbench Access 8

Same name and namespace in other branches
  1. 7 workbench_access.tokens.inc \workbench_access_tokens()

Implements hook_tokens().

File

./workbench_access.module, line 246
Contains workbench_access.module.

Code

function workbench_access_tokens($type, $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) {
  return \Drupal::service('workbench_access.tokens')
    ->getTokens($type, $tokens, $data, $options, $bubbleable_metadata);
}