public function MultigraphDeleteForm::getConfirmText in Monitoring 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- modules/
multigraph/ src/ Form/ MultigraphDeleteForm.php, line 32 - Contains \Drupal\monitoring_multigraph\Form\MultigraphDeleteForm.
Class
- MultigraphDeleteForm
- Builds the form to delete a monitoring multigraph.
Namespace
Drupal\monitoring_multigraph\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}