public function MapStyleDeleteForm::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/ MapStyleDeleteForm.php, line 42
Class
- MapStyleDeleteForm
- Form for deleting a map style.
Namespace
Drupal\openlayers\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}