public function Notifications_Taxonomy_Term_Create_Event::trigger in Notifications 7
Trigger node event
File
- notifications_tags/
notifications_tags.inc, line 317 - Drupal Notifications Framework - Default class file
Class
- Notifications_Taxonomy_Term_Create_Event
- Node events
Code
public function trigger() {
$term = $this
->get_object('taxnomy_term');
if ($result = parent::trigger()) {
watchdog('action', 'Triggered notifications for new taxonomy term @name..', array(
'@name' => $term->name,
));
}
return $result;
}