You are here

public function ParagraphsCategoryListBuilder::submitForm in Paragraphs Editor Enhancements 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/Controller/ParagraphsCategoryListBuilder.php, line 107

Class

ParagraphsCategoryListBuilder
Provides a listing of Paragraph category entities.

Namespace

Drupal\paragraphs_ee\Controller

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this->messenger
    ->addStatus($this
    ->t('The Paragraphs category ordering has been saved.'));
}