You are here

function Notifications_Event::check_objects in Notifications 7

Check that all the objects still exist

File

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

Class

Notifications_Event
Notifications Event class

Code

function check_objects() {
  foreach ($this
    ->get_objects() as $object) {
    if (!$object->value) {
      return FALSE;
    }
  }
  return TRUE;
}