/**
  * Implements hook_field_attach_form().
  */
 public function hook_field_attach_form($entity, &$form, &$form_state, $langcode)
 {
     parent::hook_field_attach_form($entity, $form, $form_state, $langcode);
     // Remove '#group' property, so panelizer settings won't be merged into
     // vertical tabs on node forms.
     if (isset($form['panelizer']['#group'])) {
         $form['panelizer']['#group'] = NULL;
     }
 }