You are here

interface WebformDevelSchemaInterface in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_devel/src/WebformDevelSchemaInterface.php \Drupal\webform_devel\WebformDevelSchemaInterface

Provides an interface defining a webform devel schema.

Hierarchy

Expanded class hierarchy of WebformDevelSchemaInterface

All classes that implement WebformDevelSchemaInterface

2 files declare their use of WebformDevelSchemaInterface
WebformDevelEntitySchemaForm.php in modules/webform_devel/src/Form/WebformDevelEntitySchemaForm.php
WebformDevelSchemaController.php in modules/webform_devel/src/Controller/WebformDevelSchemaController.php

File

modules/webform_devel/src/WebformDevelSchemaInterface.php, line 10

Namespace

Drupal\webform_devel
View source
interface WebformDevelSchemaInterface {

  /**
   * Get webform schema columns.
   *
   * @return array
   *   Webform schema columns.
   */
  public function getColumns();

  /**
   * Get webform elements schema.
   *
   * @param \Drupal\webform\WebformInterface $webform
   *   A webform.
   *
   * @return array
   *   An array containing the schema for the webform's elements.
   */
  public function getElements(WebformInterface $webform);

}

Members

Namesort descending Modifiers Type Description Overrides
WebformDevelSchemaInterface::getColumns public function Get webform schema columns. 1
WebformDevelSchemaInterface::getElements public function Get webform elements schema. 1