function system_hook_info in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/system.module \system_hook_info()
- 6 modules/system/system.module \system_hook_info()
- 7 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 261 - Configuration system that lets administrators modify the workings of the site.
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;
}