WebformEntityDeleteForm.php in Webform 6.x
File
src/WebformEntityDeleteForm.php
View source
<?php
namespace Drupal\webform;
use Drupal\webform\Form\WebformConfigEntityDeleteFormBase;
class WebformEntityDeleteForm extends WebformConfigEntityDeleteFormBase {
public function getDescription() {
return [
'title' => [
'#markup' => $this
->t('This action will…'),
],
'list' => [
'#theme' => 'item_list',
'#items' => [
$this
->t('Remove configuration'),
$this
->t('Delete all related submissions'),
$this
->t('Affect any fields or nodes which reference this webform'),
],
],
];
}
}