summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-04-14 09:51:21 +0200
committerAlex Pott2015-04-14 09:51:21 +0200
commit68ca85408e3894e13f10f0166e886013a3548514 (patch)
treebca1e4b0a0fdfd800c51be561f3c07b80fa22a48
parent1893614cb95372036390e0302e0206e04ca160e7 (diff)
Issue #2469939 by joshi.rohit100: The permissions page doesn't have a primary button
-rw-r--r--core/modules/user/src/Form/UserPermissionsForm.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/modules/user/src/Form/UserPermissionsForm.php b/core/modules/user/src/Form/UserPermissionsForm.php
index 854099b..a782f37 100644
--- a/core/modules/user/src/Form/UserPermissionsForm.php
+++ b/core/modules/user/src/Form/UserPermissionsForm.php
@@ -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';