You are here

WebformDeleteFormInterface.php in Webform 8.5

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

File

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

namespace Drupal\webform\Form;

use Drupal\Core\Form\ConfirmFormInterface;

/**
 * Defines an interface for webform delete forms.
 */
interface WebformDeleteFormInterface extends ConfirmFormInterface {

  /**
   * Returns warning message to display.
   *
   * @return array
   *   A renderable array containing a warning message.
   */
  public function getWarning();

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

  /**
   * Returns details to display.
   *
   * @return array
   *   A renderable array containing details.
   */
  public function getDetails();

  /**
   * Returns confirm input to display.
   *
   * @return array
   *   A renderable array containing confirm input.
   */
  public function getConfirmInput();

}

Interfaces

Namesort descending Description
WebformDeleteFormInterface Defines an interface for webform delete forms.