function _trigger_taxonomy
_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.
File
- 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); }
© 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.module/function/_trigger_taxonomy/7.x