function domain_tokens in Domain Access 8
Same name and namespace in other branches
- 7.3 domain.tokens.inc \domain_tokens()
- 7.2 domain.tokens.inc \domain_tokens()
Implements hook_tokens().
File
- domain/
domain.module, line 77 - Defines a Domain concept for use with Drupal.
Code
function domain_tokens($type, $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) {
return \Drupal::service('domain.token')
->getTokens($type, $tokens, $data, $options, $bubbleable_metadata);
}