function RestExampleClientDelete::getQuestion
Same name and namespace in other branches
- 4.0.x modules/rest_example/src/Form/RestExampleClientDelete.php \Drupal\rest_example\Form\RestExampleClientDelete::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
-
modules/
rest_example/ src/ Form/ RestExampleClientDelete.php, line 53
Class
- RestExampleClientDelete
- Delete a new node on a remote Drupal site.
Namespace
Drupal\rest_example\FormCode
public function getQuestion() {
return $this->t('Are you sure that you want to delete this content.');
}