You are here

function token_system_info_alter in Token 7

Implements hook_system_info_alter().

Prevent the token_actions module from being enabled since updates may have left the old module files still in the directory.

File

./token.module, line 38
Enhances the token API in core: adds a browseable UI, missing tokens, etc.

Code

function token_system_info_alter(&$info, $file, $type) {
  if ($type == 'module' && $file->name == 'token_actions') {
    $info['hidden'] = TRUE;
  }
}