You are here

function domain_source_tokens in Domain Access 8

Same name and namespace in other branches
  1. 7.3 domain_source/domain_source.tokens.inc \domain_source_tokens()

Implements hook_tokens().

File

domain_source/domain_source.module, line 311
Domain-based path rewrites for content.

Code

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