You are here

public function AuthUnlinkForm::getDescription in Open Social 8.7

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::getDescription()
  2. 8 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  3. 8.2 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  4. 8.3 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  5. 8.4 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  6. 8.5 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  7. 8.6 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()
  8. 8.8 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

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

Class

AuthUnlinkForm
Class AuthUnlinkForm.

Namespace

Drupal\social_auth_extra\Form

Code

public function getDescription() {
  return $this
    ->t('If you unlink your @network account, you are no longer able to use @network for social log in.', [
    '@network' => $this->socialNetwork['social_network'],
  ]);
}