You are here

public static function SettingBase::submitForm in Express 8

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

File

themes/contrib/bootstrap/src/Plugin/Setting/SettingBase.php, line 189
Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Code

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