function public static function SettingBase::submitForm

8.x-3.x SettingBase.php public static SettingBase::submitForm(array &$form, FormStateInterface $form_state)

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 259)

public static function submitForm(array &$form, FormStateInterface $form_state) {
  static::submitFormElement(Element::create($form, $form_state), $form_state);
}