You are here

public static function Notifications_Event::load in Notifications 7

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

Load event by id

File

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

Class

Notifications_Event
Notifications Event class

Code

public static function load($eid) {
  $event = entity_load('notifications_event', array(
    $eid,
  ));
  return $event ? $event[$eid] : FALSE;
}