You are here

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

Class

GathercontentMappingDeleteForm
Builds the form to delete GatherContent Mapping entities.

Namespace

Drupal\gathercontent\Form

Code

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