diff --git a/core/modules/user/lib/Drupal/user/Plugin/Core/Condition/UserRole.php b/core/modules/user/lib/Drupal/user/Plugin/Core/Condition/UserRole.php index 43910c4..30af278 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/Core/Condition/UserRole.php +++ b/core/modules/user/lib/Drupal/user/Plugin/Core/Condition/UserRole.php @@ -36,10 +36,10 @@ class UserRole extends ConditionPluginBase { public function buildForm(array $form, array &$form_state) { $form['roles'] = array( '#type' => 'checkboxes', - '#title' => t('Show block for specific roles'), + '#title' => t('When the user has the following roles'), '#default_value' => !empty($this->configuration['roles']) ? $this->configuration['roles'] : array(), '#options' => array_map('check_plain', user_role_names()), - '#description' => t('Show this block only for the selected role(s). If you select no roles, the block will be visible to all users.'), + '#description' => t('Evaluate to TRUE if the user has one of the selected role(s). If you select no roles, the condition will evaluate to TRUE for all users.'), '#required' => TRUE, ); return parent::buildForm($form, $form_state);