public function ApiDocDeleteForm::getConfirmText in Apigee API Catalog 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Entity/ Form/ ApiDocDeleteForm.php, line 93
Class
- ApiDocDeleteForm
- Provides a form for deleting API Doc entities.
Namespace
Drupal\apigee_api_catalog\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}