You are here

function rac_form_user_role_form_alter in Role Access Control 8

Same name and namespace in other branches
  1. 8.2 rac.module \rac_form_user_role_form_alter()

Implements hook_form_FORM_ID_alter().

Add submissions handler to role edit form.

File

./rac.module, line 142
Module providing role access relations.

Code

function rac_form_user_role_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  $form['actions']['submit']['#submit'][] = '_rac_form_user_role_form_submit';
}