You are here

function Notifications_Field::get_object in Notifications 7

Get related Notifications object

1 method overrides Notifications_Field::get_object()
Notifications_Node_Author_Field::get_object in notifications_user/notifications_user.inc
Get object.

File

./notifications.field.inc, line 118
Drupal Notifications Framework - Default class file

Class

Notifications_Field
Base class for Notifications fields

Code

function get_object() {
  if (!isset($this->object)) {
    $this->object = notifications_object($this->object_type, $this->value);
  }
  return $this->object;
}