function Notifications_Node_Author_Field::object_value in Notifications 7
Get object value.
Overrides Notifications_Field::object_value
File
- notifications_user/
notifications_user.inc, line 86 - User subscriptions for Notifications
Class
- Notifications_Node_Author_Field
- Class Notifications_Node_Author_Field.
Code
function object_value($object) {
if ($object->type == $this->object_type) {
$object = $object
->get_object();
if ($object) {
return $object->uid;
}
}
}