Issue #2469939 by joshi.rohit100: The permissions page doesn't have a primary button

8.0.x
Alex Pott 2015-04-14 09:51:21 +02:00
parent 1893614cb9
commit 68ca85408e
1 changed files with 5 additions and 1 deletions

View File

@ -176,7 +176,11 @@ class UserPermissionsForm extends FormBase {
}
$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';