public function TableDragExampleResetForm::getDescription in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/tabledrag_example/src/Form/TableDragExampleResetForm.php \Drupal\tabledrag_example\Form\TableDragExampleResetForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- tabledrag_example/
src/ Form/ TableDragExampleResetForm.php, line 67
Class
- TableDragExampleResetForm
- Table drag example reset form.
Namespace
Drupal\tabledrag_example\FormCode
public function getDescription() {
return $this
->t('Are you sure you want to reset demo data?');
}