You are here

interface WebformDevelSchemaInterface in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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

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