2 * Implements hook_hook_info_alter().
4 function {{ machine_name }}_hook_info_alter(&$hooks) {
5 // Our module wants to completely override the core tokens, so make
6 // sure the core token hooks are not found.
7 $hooks['token_info']['group'] = 'mytokens';
8 $hooks['tokens']['group'] = 'mytokens';