public function CookiesServiceGroupDeleteForm::getConfirmText in COOKiES Consent Management 1.0.x
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/ CookiesServiceGroupDeleteForm.php, line 31
Class
- CookiesServiceGroupDeleteForm
- Builds the form to delete Cookie service group entities.
Namespace
Drupal\cookies\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}