Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UserLogoutConfirm.php

function UserLogoutConfirm::getQuestion

Overrides ConfirmFormInterface::getQuestion

File

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

Class

UserLogoutConfirm
Provides a confirmation form for user logout.

Namespace

Drupal\user\Form

Code

public function getQuestion() : TranslatableMarkup {
    return $this->t('Are you sure you want to log out?');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal