public function ApiDocReimportSpecForm::getQuestion in Apigee API Catalog 8.2
Same name and namespace in other branches
- 8 src/Entity/Form/ApiDocReimportSpecForm.php \Drupal\apigee_api_catalog\Entity\Form\ApiDocReimportSpecForm::getQuestion()
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/ ApiDocReimportSpecForm.php, line 113
Class
- ApiDocReimportSpecForm
- Class ApiDocReimportSpecForm.
Namespace
Drupal\apigee_api_catalog\Entity\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to update the OpenAPI specification file from URL on API Doc %name?', [
'%name' => $this->entity
->label(),
]);
}