protected function TeamDeleteForm::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
- modules/
apigee_edge_teams/ src/ Entity/ Form/ TeamDeleteForm.php, line 33
Class
- TeamDeleteForm
- General form handler for the team delete forms.
Namespace
Drupal\apigee_edge_teams\Entity\FormCode
protected function verificationCodeErrorMessage() {
return $this
->t('The name does not match the @entity you are attempting to delete.', [
'@entity' => mb_strtolower($this->entityTypeManager
->getDefinition($this
->getEntity()
->getEntityTypeId())
->getSingularLabel()),
]);
}