You are here

protected function WorkflowConfigTransitionController::cacheGet in Workflow 7.2

Overrides DrupalDefaultEntityController::cacheGet().

Override default function, due to core issue #1572466.

Overrides DrupalDefaultEntityController::cacheGet

File

includes/Entity/WorkflowConfigTransition.php, line 174
Contains workflow\includes\Entity\WorkflowConfigTransition. Contains workflow\includes\Entity\WorkflowConfigTransitionController.

Class

WorkflowConfigTransitionController
Implements a controller class for WorkflowConfigTransition.

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);
}