Issue #2469939 by joshi.rohit100: The permissions page doesn't have a primary button
parent
1893614cb9
commit
68ca85408e
|
@ -176,7 +176,11 @@ class UserPermissionsForm extends FormBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
$form['actions'] = array('#type' => 'actions');
|
$form['actions'] = array('#type' => 'actions');
|
||||||
$form['actions']['submit'] = array('#type' => 'submit', '#value' => $this->t('Save permissions'));
|
$form['actions']['submit'] = array(
|
||||||
|
'#type' => 'submit',
|
||||||
|
'#value' => $this->t('Save permissions'),
|
||||||
|
'#button_type' => 'primary',
|
||||||
|
);
|
||||||
|
|
||||||
$form['#attached']['library'][] = 'user/drupal.user.permissions';
|
$form['#attached']['library'][] = 'user/drupal.user.permissions';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue