public function ConfirmClearMenuForm::getQuestion in Menu Item Extras 8.2
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/ ConfirmClearMenuForm.php, line 74
Class
- ConfirmClearMenuForm
- Class ConfirmClearMenuForm.
Namespace
Drupal\menu_item_extras\FormCode
public function getQuestion() {
return $this
->t('Do you want to clear extra data in %menu_name?', [
'%menu_name' => $this->entity
->label(),
]);
}