You are here

protected function BeanEntityAPIController::attachLoad in Bean (for Drupal 7) 7

Overridden.

Changed to call type-specific hook with the entities keyed by name if they have one.

Overrides EntityAPIControllerExportable::attachLoad

See also

DrupalDefaultEntityController::attachLoad()

File

includes/bean.core.inc, line 462
Bean classes and plugin interface

Class

BeanEntityAPIController

Code

protected function attachLoad(&$queried_entities, $revision_id = FALSE) {
  foreach ($queried_entities as $entity) {
    $this
      ->setPlugin($entity);
  }
  parent::attachLoad($queried_entities, $revision_id);
}