protected function AppDeleteForm::verificationCodeErrorMessage in Apigee Edge 8
The error message that the user should see when verification fails.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The error message to be displayed to the user.
Overrides EdgeEntityDeleteForm::verificationCodeErrorMessage
File
- src/
Entity/ Form/ AppDeleteForm.php, line 34
Class
- AppDeleteForm
- General form handler for developer/team (company) app delete forms.
Namespace
Drupal\apigee_edge\Entity\FormCode
protected function verificationCodeErrorMessage() {
return $this
->t('The name does not match the @app you are attempting to delete.', [
'@app' => mb_strtolower($this->entityTypeManager
->getDefinition($this
->getEntity()
->getEntityTypeId())
->getSingularLabel()),
]);
}