function _trigger_taxonomy
7.x trigger.module | _trigger_taxonomy($hook, $array) |
Calls action functions for taxonomy triggers.
Parameters
$hook: Hook to trigger actions for taxonomy_term_insert(), taxonomy_term_update(), and taxonomy_term_delete().
$array: Item on which operation is being performed, either a term or form values.
3 calls to _trigger_taxonomy()
- trigger_taxonomy_term_delete in drupal-7.x/
modules/ trigger/ trigger.module - Implements hook_taxonomy_term_delete().
- trigger_taxonomy_term_insert in drupal-7.x/
modules/ trigger/ trigger.module - Implements hook_taxonomy_term_insert().
- trigger_taxonomy_term_update in drupal-7.x/
modules/ trigger/ trigger.module - Implements hook_taxonomy_term_update().
File
- drupal-7.x/
modules/ trigger/ trigger.module, line 592 - Enables functions to be stored and executed at a later time.
Code
function _trigger_taxonomy($hook, $array) {
$aids = trigger_get_assigned_actions($hook);
$context = array(
'group' => 'taxonomy',
'hook' => $hook
);
actions_do(array_keys($aids), (object) $array, $context);
}