public function Delete::getQuestion in SimpleAds 8
Same name in this branch
- 8 src/Form/Groups/Delete.php \Drupal\simpleads\Form\Groups\Delete::getQuestion()
- 8 src/Form/Ads/Delete.php \Drupal\simpleads\Form\Ads\Delete::getQuestion()
- 8 src/Form/Campaigns/Delete.php \Drupal\simpleads\Form\Campaigns\Delete::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/ Groups/ Delete.php, line 27
Class
- Delete
- Delete advertisement form.
Namespace
Drupal\simpleads\Form\GroupsCode
public function getQuestion() {
return t('Are you sure you would like to delete <em>%name</em> group?', [
'%name' => $this->group
->getGroupName(),
]);
}