You are here

interface WebformDeleteFormInterface in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Form/WebformDeleteFormInterface.php \Drupal\webform\Form\WebformDeleteFormInterface

Defines an interface for webform delete forms.

Hierarchy

Expanded class hierarchy of WebformDeleteFormInterface

All classes that implement WebformDeleteFormInterface

File

src/Form/WebformDeleteFormInterface.php, line 10

Namespace

Drupal\webform\Form
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfirmFormInterface::getCancelText public function Returns a caption for the link which cancels the action. 3
ConfirmFormInterface::getCancelUrl public function Returns the route to go to if the user cancels the action. 32
ConfirmFormInterface::getConfirmText public function Returns a caption for the button that confirms the action. 3
ConfirmFormInterface::getFormName public function Returns the internal name used to refer to the confirmation item. 3
ConfirmFormInterface::getQuestion public function Returns the question to ask the user. 33
FormInterface::buildForm public function Form constructor. 179
FormInterface::getFormId public function Returns a unique string identifying the form. 236
FormInterface::submitForm public function Form submission handler. 192
FormInterface::validateForm public function Form validation handler. 30
WebformDeleteFormInterface::getConfirmInput public function Returns confirm input to display. 3
WebformDeleteFormInterface::getDescription public function Returns additional text to display as a description. Overrides ConfirmFormInterface::getDescription 3
WebformDeleteFormInterface::getDetails public function Returns details to display. 3
WebformDeleteFormInterface::getWarning public function Returns warning message to display. 3