protected function UserRoleDelete::getQuestion

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/user/lib/Drupal/user/Form/UserRoleDelete.php, line 35
Contains \Drupal\user\Form\UserRoleDelete.

Class

UserRoleDelete
Provides a deletion confirmation form for Role entity.

Namespace

Drupal\user\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete the role %name?', array(
    '%name' => $this->role
      ->label(),
  ));
}