function UserLogoutConfirm::getConfirmText

Same name in other branches
  1. 10 core/modules/user/src/Form/UserLogoutConfirm.php \Drupal\user\Form\UserLogoutConfirm::getConfirmText()

Overrides ConfirmFormBase::getConfirmText

File

core/modules/user/src/Form/UserLogoutConfirm.php, line 21

Class

UserLogoutConfirm
Provides a confirmation form for user logout.

Namespace

Drupal\user\Form

Code

public function getConfirmText() : TranslatableMarkup {
    return $this->t('Log out');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.