You are here

public function RuleListBuilder::submitForm in JS injector 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

lib/Drupal/js_injector/RuleListBuilder.php, line 92
Contains \Drupal\js_injector\RuleListBuilder.

Class

RuleListBuilder
Defines a class to build a listing of js_injector_rule entities.

Namespace

Drupal\js_injector

Code

public function submitForm(array &$form, array &$form_state) {
  parent::submitForm($form, $form_state);
  drupal_set_message(t('The rule order has been saved.'));
}