/**
  * {@inheritdoc}
  */
 public function add_bundle_setting_form(&$form, &$form_state, $bundle, $type_location)
 {
     // Call parent.
     parent::add_bundle_setting_form($form, $form_state, $bundle, $type_location);
     // Move panelizer submit handler to the end.
     $submit_handler = 'panelizer_entity_default_bundle_form_submit';
     if (($index = array_search($submit_handler, $form['#submit'])) !== FALSE) {
         unset($form['#submit'][$index]);
         $form['#submit'][] = $submit_handler;
     }
 }