public function ClusterDeleteForm::getQuestion in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.7 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getQuestion()
- 8.2 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getQuestion()
- 8.5 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getQuestion()
- 8.6 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::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/
Form/ ClusterDeleteForm.php, line 24 - Contains \Drupal\elasticsearch_connector\Form\ClusterDeleteForm.
Class
- ClusterDeleteForm
- Defines a confirmation form for deletion of a custom menu.
Namespace
Drupal\elasticsearch_connector\FormCode
public function getQuestion() {
return t('Are you sure you want to delete the cluster %title?', array(
'%title' => $this->entity
->label(),
));
}