function system_hook_info

Same name and namespace in other branches
  1. 9 core/modules/system/system.module \system_hook_info()
  2. 8.9.x core/modules/system/system.module \system_hook_info()
  3. 10 core/modules/system/system.module \system_hook_info()
  4. 11.x core/modules/system/system.module \system_hook_info()

Implements hook_hook_info().

File

modules/system/system.module, line 256

Code

function system_hook_info() {
    $hooks['token_info'] = array(
        'group' => 'tokens',
    );
    $hooks['token_info_alter'] = array(
        'group' => 'tokens',
    );
    $hooks['tokens'] = array(
        'group' => 'tokens',
    );
    $hooks['tokens_alter'] = array(
        'group' => 'tokens',
    );
    return $hooks;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.