You are here

public function CountryListDeleteForm::getConfirmText in Country, State and City Fields 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/CountryListDeleteForm.php, line 35

Class

CountryListDeleteForm
Provides a form for deleting a countrylist entity.

Namespace

Drupal\country_state_city\Form

Code

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