interface SchemaDefinitionInterface

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/SchemaDefinition/SchemaDefinitionInterface.php \Drupal\Core\Database\SchemaDefinition\SchemaDefinitionInterface

Interface for objects describing database elements.

Hierarchy

Expanded class hierarchy of SchemaDefinitionInterface

All classes that implement SchemaDefinitionInterface

File

core/lib/Drupal/Core/Database/SchemaDefinition/SchemaDefinitionInterface.php, line 10

Namespace

Drupal\Core\Database\SchemaDefinition
View source
interface SchemaDefinitionInterface {
  
  /**
   * Converts the object to legacy array-based specifications.
   *
   * @return array
   *   The legacy array-based specification.
   *
   * @internal
   */
  public function toArray() : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SchemaDefinitionInterface::toArray public function Converts the object to legacy array-based specifications. 5

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.