public function DynamicLayoutDeleteForm::getConfirmText in Dynamic Layouts 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/ DynamicLayoutDeleteForm.php, line 31
Class
- DynamicLayoutDeleteForm
- Provides a deletion confirmation form for DynamicLayout entity.
Namespace
Drupal\dynamic_layouts\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}