public function BlockDeleteConfirmForm::getConfirmText in Layout Builder Browser 8
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/ BlockDeleteConfirmForm.php, line 31
Class
- BlockDeleteConfirmForm
- Defines a confirm form for deleting a block.
Namespace
Drupal\layout_builder_browser\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}