function hook_trigger_info_alter

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 trigger.api.php hook_trigger_info_alter(&$triggers)
cle7 trigger.api.php hook_trigger_info_alter(&$triggers)
elmsmedia7 trigger.api.php hook_trigger_info_alter(&$triggers)
icor7 trigger.api.php hook_trigger_info_alter(&$triggers)
meedjum_blog7 trigger.api.php hook_trigger_info_alter(&$triggers)
mooc7 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()
trigger_assign in modules/trigger/trigger.admin.inc
Builds a form that allows users to assign actions to triggers.
_trigger_get_all_info in modules/trigger/trigger.module
Retrieves and caches information from hook_trigger_info() implementations.

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');
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.