You are here

public function StyleguidePatternListBuilder::submitForm in Simple Style Guide 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 DraggableListBuilder::submitForm

File

src/StyleguidePatternListBuilder.php, line 42

Class

StyleguidePatternListBuilder
Defines a class to build a listing of user ball entities.

Namespace

Drupal\simple_styleguide

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this
    ->messenger()
    ->addMessage('Styleguide pattern settings updated.');
}