You are here

WebformSubmissionDeleteMultipleForm.php in Webform 8.5

Same filename and directory in other branches
  1. 6.x src/Form/WebformSubmissionDeleteMultipleForm.php

File

src/Form/WebformSubmissionDeleteMultipleForm.php
View source
<?php

namespace Drupal\webform\Form;


/**
 * Provides a webform submission deletion confirmation form.
 */
class WebformSubmissionDeleteMultipleForm extends WebformDeleteMultipleFormBase {

  /**
   * {@inheritdoc}
   */
  public function getDescription() {

    // @see \Drupal\webform\Form\WebformSubmissionDeleteForm::getDescription
    return [
      'title' => [
        '#markup' => $this
          ->t('This action will…'),
      ],
      'list' => [
        '#theme' => 'item_list',
        '#items' => [
          $this
            ->t('Remove records from the database'),
          $this
            ->t('Delete any uploaded files'),
          $this
            ->t('Cancel all pending actions'),
        ],
      ],
    ];
  }

}

Classes

Namesort descending Description
WebformSubmissionDeleteMultipleForm Provides a webform submission deletion confirmation form.