You are here

public function ParagraphsCategoryDeleteForm::getConfirmText in Paragraphs Editor Enhancements 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/ParagraphsCategoryDeleteForm.php, line 31

Class

ParagraphsCategoryDeleteForm
Form handler for the delete form of Paragraphs category entities.

Namespace

Drupal\paragraphs_ee\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete Paragraphs category');
}