function SchemaDefinitionInterface::toArray
Converts the object to legacy array-based specifications.
@internal
Return value
array The legacy array-based specification.
5 methods override SchemaDefinitionInterface::toArray()
- Column::toArray in core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ Column.php - Converts the object to legacy array-based specifications.
- KeyBase::toArray in core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ KeyBase.php - Converts the object to legacy array-based specifications.
- KeyColumn::toArray in core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ KeyColumn.php - The key column cannot be converted to an array.
- Schema::toArray in core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ Schema.php - Converts the object to legacy array-based specifications.
- Table::toArray in core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ Table.php - Converts the object to legacy array-based specifications.
File
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ SchemaDefinitionInterface.php, line 20
Class
- SchemaDefinitionInterface
- Interface for objects describing database elements.
Namespace
Drupal\Core\Database\SchemaDefinitionCode
public function toArray() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.