예제 #1
0
 /**
  * {@inheritdoc}
  *
  * @todo Remove this and switch all usage of $form_state['section'] to
  *   $form_state['type'].
  */
 public function getFormState(ViewStorageInterface $view, $display_id, $js)
 {
     return array('section' => $this->type) + parent::getFormState($view, $display_id, $js);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  *
  * @todo Remove this and switch all usage of $form_state->get('section') to
  *   $form_state->get('type').
  */
 public function getFormState(ViewEntityInterface $view, $display_id, $js)
 {
     $form_state = parent::getFormState($view, $display_id, $js);
     $form_state->set('section', $this->type);
     return $form_state;
 }
예제 #3
0
 /**
  * {@inheritdoc}
  *
  * @todo Remove this and switch all usage of $form_state['section'] to
  *   $form_state['type'].
  */
 public function getFormState(ViewStorageInterface $view, $display_id, $js)
 {
     $form_state = parent::getFormState($view, $display_id, $js);
     $form_state['section'] = $this->type;
     return $form_state;
 }