public function StyleguidePatternDeleteForm::getConfirmText in Simple Style Guide 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/ StyleguidePatternDeleteForm.php, line 31
Class
- StyleguidePatternDeleteForm
- Builds the form to delete Styleguide pattern entities.
Namespace
Drupal\simple_styleguide\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}