You are here

public function EventHandler::getObjectCache in Services Client 7.2

Retrieve object cached version of event.

Return value

stdClass Cached version if exists, otherwise event.

1 call to EventHandler::getObjectCache()
EventHandler::getObjectCacheOrCache in include/event.inc
Retrieve current object from cache. If not currently in object cache adds object to object cache.

File

include/event.inc, line 448

Class

EventHandler
Event handler plugin.

Code

public function getObjectCache() {
  ctools_include('object-cache');
  return ctools_object_cache_get('ctui_services_client', $this->event->name . '::configure');
}