protected function UserRoleDelete::getConfirmText

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

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

Class

UserRoleDelete
Provides a deletion confirmation form for Role entity.

Namespace

Drupal\user\Form

Code

protected function getConfirmText() {
  return t('Delete');
}