public function AccessSchemeDeleteForm::getConfirmText in Workbench Access 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
- src/
Form/ AccessSchemeDeleteForm.php, line 31
Class
- AccessSchemeDeleteForm
- Builds the form to delete Access scheme entities.
Namespace
Drupal\workbench_access\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}