You are here

function panelizer_entity_load in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 panelizer.module \panelizer_entity_load()

Implements hook_entity_load().

File

./panelizer.module, line 115
The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.

Code

function panelizer_entity_load(&$entities, $entity_type) {

  // Delegate to the handler.
  if ($handler = panelizer_entity_plugin_get_handler($entity_type)) {
    $handler
      ->hook_entity_load($entities);
  }
}