You are here

function Notifications_Event::add_object in Notifications 7

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

Add Drupal Object, converting it into a Notifications_Object

Parameters

$object:

File

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

Class

Notifications_Event
Notifications Event class

Code

function add_object($type, $value) {
  return $this
    ->set_object(notifications_object($type, $value));
}