function KeyColumn::toArray
The key column cannot be converted to an array.
Return value
array The legacy array-based specification.
Throws
\LogicException
Overrides SchemaDefinitionInterface::toArray
File
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ KeyColumn.php, line 31
Class
- KeyColumn
- Describes a column of a database index or key.
Namespace
Drupal\Core\Database\SchemaDefinitionCode
public function toArray() : array {
throw new \LogicException(__METHOD__ . ' is not implemented');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.