You are here

public function MapControlDeleteForm::getConfirmText in Openlayers 8.4

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/MapControlDeleteForm.php, line 42

Class

MapControlDeleteForm
Form for deleting a map control.

Namespace

Drupal\openlayers\Form

Code

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