You are here

public function TwitterFeedsDeleteForm::getQuestion in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/TwitterFeedsDeleteForm.php \Drupal\tweet_feed\Form\TwitterFeedsDeleteForm::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/TwitterFeedsDeleteForm.php, line 63

Class

TwitterFeedsDeleteForm
Confirmation of Twitter API deletion.

Namespace

Drupal\tweet_feed\Form

Code

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