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