You are here

function panelizer_field_attach_form in Panelizer 7.2

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

File

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

Code

function panelizer_field_attach_form($entity_type, $entity, &$form, &$form_state, $langcode) {

  // Delegate to the handler.
  if ($handler = panelizer_entity_plugin_get_handler($entity_type)) {
    $handler
      ->hook_field_attach_form($entity, $form, $form_state, $langcode);
  }
}