Skip navigation
Help

hook_trigger_info_alter

7 trigger.api.php hook_trigger_info_alter(&$triggers)

Alter triggers declared by hook_trigger_info().

Parameters

$triggers: Array of trigger information returned by hook_trigger_info() implementations. Modify this array in place. See hook_trigger_info() for information on what this might contain.

Related topics

2 invocations of hook_trigger_info_alter()

File

drupal/modules/trigger/trigger.api.php, line 72
Hooks provided by the Trigger module.

Code

function hook_trigger_info_alter(&$triggers) {
  $triggers['node']['node_insert']['label'] = t('When content is saved');
}