You are here

public function GoogleAdwordsPathConfigDeleteForm::getConfirmText in Google AdWords Conversion Tracking 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

modules/google_adwords_path/src/Form/GoogleAdwordsPathConfigDeleteForm.php, line 36
Contains Drupal\google_adwords_path\Form\GoogleAdwordsPathConfigDeleteForm.

Class

GoogleAdwordsPathConfigDeleteForm
Builds the form to delete Google AdWords Path Config entities.

Namespace

Drupal\google_adwords_path\Form

Code

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