public function WebformHandlerDeleteForm::getDescription in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformHandlerDeleteForm.php \Drupal\webform\Form\WebformHandlerDeleteForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides WebformDeleteFormBase::getDescription
File
- src/
Form/ WebformHandlerDeleteForm.php, line 62
Class
- WebformHandlerDeleteForm
- Form for deleting a webform handler.
Namespace
Drupal\webform\FormCode
public function getDescription() {
return [
'title' => [
'#markup' => $this
->t('This action will…'),
],
'list' => [
'#theme' => 'item_list',
'#items' => [
$this
->t('Remove this handler'),
$this
->t('Cancel all pending actions'),
],
],
];
}