public function MultigraphDeleteForm::getQuestion in Monitoring 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
- modules/
multigraph/ src/ Form/ MultigraphDeleteForm.php, line 22 - Contains \Drupal\monitoring_multigraph\Form\MultigraphDeleteForm.
Class
- MultigraphDeleteForm
- Builds the form to delete a monitoring multigraph.
Namespace
Drupal\monitoring_multigraph\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the %name multigraph?', array(
'%name' => $this->entity
->label(),
));
}