protected function AppDeleteForm::verificationCode in Apigee Edge 8
Returns the verification code that the user should provide to confirm.
Return value
string The verification code.
Overrides EdgeEntityDeleteForm::verificationCode
File
- src/
Entity/ Form/ AppDeleteForm.php, line 43
Class
- AppDeleteForm
- General form handler for developer/team (company) app delete forms.
Namespace
Drupal\apigee_edge\Entity\FormCode
protected function verificationCode() {
/** @var \Drupal\apigee_edge\Entity\AppInterface $app */
$app = $this
->getEntity();
// Request the name of the app instead of the app id (UUID).
return $app
->getName();
}