You are here

function Notifications_Event::set_object in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_event.class.inc \Notifications_Event::set_object()

Set Notifications object

1 call to Notifications_Event::set_object()
Notifications_Event::add_object in ./notifications.event.inc
Add Drupal Object, converting it into a Notifications_Object

File

./notifications.event.inc, line 194
Drupal Notifications Framework - Default class file

Class

Notifications_Event
Notifications Event class

Code

function set_object($object) {
  $this->objects[$object->type] = $object;
  return $this;
}