You are here

public function AuthUnlinkForm::getQuestion in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  2. 8.2 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  3. 8.3 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  4. 8.4 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  5. 8.5 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  6. 8.6 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  7. 8.7 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()
  8. 8.8 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getQuestion()

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php, line 41

Class

AuthUnlinkForm
Class AuthUnlinkForm.

Namespace

Drupal\social_auth_extra\Form

Code

public function getQuestion() {
  return $this
    ->t('Unlink @network', [
    '@network' => $this->socialNetwork['social_network'],
  ]);
}