You are here

WebformDevelSchemaInterface.php in Webform 8.5

Same filename and directory in other branches
  1. 6.x modules/webform_devel/src/WebformDevelSchemaInterface.php

File

modules/webform_devel/src/WebformDevelSchemaInterface.php
View source
<?php

namespace Drupal\webform_devel;

use Drupal\webform\WebformInterface;

/**
 * Provides an interface defining a webform devel schema.
 */
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);

}

Interfaces

Namesort descending Description
WebformDevelSchemaInterface Provides an interface defining a webform devel schema.