From 68ca85408e3894e13f10f0166e886013a3548514 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 14 Apr 2015 09:51:21 +0200 Subject: [PATCH] Issue #2469939 by joshi.rohit100: The permissions page doesn't have a primary button --- core/modules/user/src/Form/UserPermissionsForm.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/modules/user/src/Form/UserPermissionsForm.php b/core/modules/user/src/Form/UserPermissionsForm.php index 854099bae6e..a782f37282d 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';