WebformAccessTypeDeleteForm.php in Webform 6.x
File
modules/webform_access/src/WebformAccessTypeDeleteForm.php
View source
<?php
namespace Drupal\webform_access;
use Drupal\webform\Form\WebformConfigEntityDeleteFormBase;
class WebformAccessTypeDeleteForm extends WebformConfigEntityDeleteFormBase {
protected $confirmCheckbox = FALSE;
public function getDescription() {
return [
'title' => [
'#markup' => $this
->t('This action will…'),
],
'list' => [
'#theme' => 'item_list',
'#items' => [
$this
->t('Remove configuration'),
$this
->t('Affect any access groups which use this type'),
],
],
];
}
}