valueSubmit example

/** * Simple submit handler. */
  public function submitOptionsForm(&$form, FormStateInterface $form_state) {
    // Do not store these values.     $form_state->unsetValue('expose_button');
    $form_state->unsetValue('group_button');

    if (!$this->isAGroup()) {
      $this->operatorSubmit($form$form_state);
      $this->valueSubmit($form$form_state);
    }
    if (!empty($this->options['exposed'])) {
      $this->submitExposeForm($form$form_state);
    }
    if ($this->isAGroup()) {
      $this->buildGroupSubmit($form$form_state);
    }
  }

  /** * Shortcut to display the operator form. */
Home | Imprint | This part of the site doesn't use cookies.