public function LayoutDeleteForm::getConfirmText in Bootstrap Layout Builder 2.x
Same name and namespace in other branches
- 1.x src/Form/LayoutDeleteForm.php \Drupal\bootstrap_layout_builder\Form\LayoutDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ LayoutDeleteForm.php, line 31
Class
- LayoutDeleteForm
- Builds the form to delete Bootstrap Layout Builder layouts entities.
Namespace
Drupal\bootstrap_layout_builder\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}