function hook_trigger_info_alter
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
File
- 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'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!trigger!trigger.api.php/function/hook_trigger_info_alter/7.x