function system_hook_info
Same name in other branches
- 7.x modules/system/system.module \system_hook_info()
- 9 core/modules/system/system.module \system_hook_info()
- 8.9.x core/modules/system/system.module \system_hook_info()
- 10 core/modules/system/system.module \system_hook_info()
Implements hook_hook_info().
File
-
core/
modules/ system/ system.module, line 268
Code
function system_hook_info() {
$hooks['token_info'] = [
'group' => 'tokens',
];
$hooks['token_info_alter'] = [
'group' => 'tokens',
];
$hooks['tokens'] = [
'group' => 'tokens',
];
$hooks['tokens_alter'] = [
'group' => 'tokens',
];
return $hooks;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.