public function ClassyParagraphsStyleDeleteForm::getConfirmText in Classy paragraphs 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/ ClassyParagraphsStyleDeleteForm.php, line 30
Class
- ClassyParagraphsStyleDeleteForm
- Builds the form to delete Classy paragraphs style entities.
Namespace
Drupal\classy_paragraphs\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}