function Notifications_Node_Field::get_object_condition in Notifications 7
Get query condition for nodes
File
- ./
notifications.field.inc, line 533 - Drupal Notifications Framework - Default class file
Class
- Notifications_Node_Field
- Node fields
Code
function get_object_condition($object) {
if ($object->type == 'node' && isset($object->value)) {
return $this
->get_value_condition($object->value);
}
}