public function ApiDocDeleteForm::getQuestion in Apigee API Catalog 8
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Entity/ Form/ ApiDocDeleteForm.php, line 77
Class
- ApiDocDeleteForm
- Provides a form for deleting API Doc entities.
Namespace
Drupal\apigee_api_catalog\Entity\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete API Doc %name?', [
'%name' => $this->entity
->label(),
]);
}