RoleListBuilder::submitForm

public RoleListBuilder::submitForm(array &$form, FormStateInterface $form_state)

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

core/modules/user/src/RoleListBuilder.php, line 58

Class

RoleListBuilder
Defines a class to build a listing of user role entities.

Namespace

Drupal\user

Code

1
2
3
4
5
public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
 
  drupal_set_message(t('The role settings have been updated.'));
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.