You are here

public function OpenlayersInteractionDeleteForm::getConfirmText in Openlayers 8.4

Gather the confirmation text.

The confirm text is used as the text in the button that confirms the question posed by getQuestion().

Return value

string Translated string.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/OpenlayersInteractionDeleteForm.php, line 39

Class

OpenlayersInteractionDeleteForm
Class OpenlayersInteractionDeleteForm.

Namespace

Drupal\openlayers\Form

Code

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