public function GoogleAnalyticsEventTrackerDeleteForm::getConfirmText in Google Analytics Event Tracking 8
Same name and namespace in other branches
- 8.2 src/Form/GoogleAnalyticsEventTrackerDeleteForm.php \Drupal\google_analytics_et\Form\GoogleAnalyticsEventTrackerDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ GoogleAnalyticsEventTrackerDeleteForm.php, line 31
Class
- GoogleAnalyticsEventTrackerDeleteForm
- Builds the form to delete Google Analytics event tracker entities.
Namespace
Drupal\google_analytics_et\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}