You are here

public function TwitterAccountsDeleteForm::getQuestion in Tweet Feed 8.3

Same name and namespace in other branches
  1. 4.x src/Form/TwitterAccountsDeleteForm.php \Drupal\tweet_feed\Form\TwitterAccountsDeleteForm::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

src/Form/TwitterAccountsDeleteForm.php, line 64

Class

TwitterAccountsDeleteForm
Confirmation of Twitter API deletion.

Namespace

Drupal\tweet_feed\Form

Code

public function getQuestion() {
  return t('Do you want to delete %account_machine_name?', [
    '%account_machine_name' => $this->account_machine_name,
  ]);
}