You are here

public function SlickListBuilderBase::submitForm in Slick Carousel 8.2

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

slick_ui/src/Controller/SlickListBuilderBase.php, line 62

Class

SlickListBuilderBase
Provides a listing of Slick optionsets.

Namespace

Drupal\slick_ui\Controller

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this
    ->messenger()
    ->addMessage($this
    ->t('The optionsets order has been updated.'));
}