SchemaDefinitionInterface.php

Same filename and directory in other branches
  1. 11.x core/lib/Drupal/Core/Database/SchemaDefinition/SchemaDefinitionInterface.php

Namespace

Drupal\Core\Database\SchemaDefinition

File

core/lib/Drupal/Core/Database/SchemaDefinition/SchemaDefinitionInterface.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Database\SchemaDefinition;


/**
 * Interface for objects describing database elements.
 */
interface SchemaDefinitionInterface {
  
  /**
   * Converts the object to legacy array-based specifications.
   *
   * @return array
   *   The legacy array-based specification.
   *
   * @internal
   */
  public function toArray() : array;

}

Interfaces

Title Deprecated Summary
SchemaDefinitionInterface Interface for objects describing database elements.

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