You are here

function panelizer_entity_insert in Panelizer 7.2

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

Implements hook_entity_insert().

File

./panelizer.module, line 135
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_insert($entity, $entity_type) {

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