public function BreakpointDeleteForm::getQuestion in Bootstrap Layout Builder 2.x
Same name and namespace in other branches
- 1.x src/Form/BreakpointDeleteForm.php \Drupal\bootstrap_layout_builder\Form\BreakpointDeleteForm::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/ BreakpointDeleteForm.php, line 17
Class
- BreakpointDeleteForm
- Builds the form to delete Bootstrap Layout Builder breakpoints entities.
Namespace
Drupal\bootstrap_layout_builder\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete %name?', [
'%name' => $this->entity
->label(),
]);
}