You are here

public function FacetDeleteConfirmForm::getConfirmText in Facets 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/FacetDeleteConfirmForm.php, line 31

Class

FacetDeleteConfirmForm
Defines a confirm form for deleting a facet.

Namespace

Drupal\facets\Form

Code

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