You are here

function panelizer_entity_default_bundle_form_submit in Panelizer 7.3

Same name and namespace in other branches
  1. 7.2 plugins/entity/PanelizerEntityDefault.class.php \panelizer_entity_default_bundle_form_submit()

Form API submission callback for PanelizerEntityDefault->add_bundle_setting_form().

1 string reference to 'panelizer_entity_default_bundle_form_submit'
PanelizerEntityDefault::add_bundle_setting_form in plugins/entity/PanelizerEntityDefault.class.php
Add the panelizer settings form to a single entity bundle config form.

File

plugins/entity/PanelizerEntityDefault.class.php, line 3737
Base class for the Panelizer Entity plugin.

Code

function panelizer_entity_default_bundle_form_submit($form, &$form_state) {
  $bundle = $form['panelizer']['#bundle'];
  $type_location = $form['panelizer']['#location'];
  $form_state['panelizer_entity_handler']
    ->add_bundle_setting_form_submit($form, $form_state, $bundle, $type_location);
}