You are here

function panelizer_entity_default_bundle_form_submit in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 plugins/entity/PanelizerEntityDefault.class.php \panelizer_entity_default_bundle_form_submit()
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 1738
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);
}