protected function WorkflowController::cacheGet in Workflow 7.2
Overrides DrupalDefaultEntityController::cacheGet().
Override default function, due to Core issue #1572466.
Overrides EntityAPIControllerExportable::cacheGet
File
- includes/
Entity/ Workflow.php, line 772 - Contains workflow\includes\Entity\Workflow. Contains workflow\includes\Entity\WorkflowController.
Class
- WorkflowController
- Implements a controller class for Workflow.
Code
protected function cacheGet($ids, $conditions = array()) {
// Load any available entities from the internal cache.
if ($ids === FALSE && !$conditions) {
return $this->entityCache;
}
return parent::cacheGet($ids, $conditions);
}