You are here

function domain_token_info in Domain Access 8

Same name and namespace in other branches
  1. 7.3 domain.tokens.inc \domain_token_info()
  2. 7.2 domain.tokens.inc \domain_token_info()

Implements hook_token_info().

File

domain/domain.module, line 70
Defines a Domain concept for use with Drupal.

Code

function domain_token_info() {
  return \Drupal::service('domain.token')
    ->getTokenInfo();
}