Skip to content
Snippets Groups Projects
Commit 4730d816 authored by Jess's avatar Jess
Browse files

Issue #2474273 by mesch: Update Documentation for...

Issue #2474273 by mesch: Update Documentation for \Drupal\Core\Field\FieldStorageDefinitionInterface::getSchema()
parent ee222725
No related branches found
No related tags found
No related merge requests found
......@@ -236,13 +236,15 @@ public function getTargetEntityTypeId();
*
* @return array[]
* The field schema, as an array of key/value pairs in the format returned
* by hook_field_schema():
* by \Drupal\Core\Field\FieldItemInterface::schema():
* - columns: An array of Schema API column specifications, keyed by column
* name. This specifies what comprises a single value for a given field.
* No assumptions should be made on how storage backends internally use
* the original column name to structure their storage.
* - indexes: An array of Schema API index definitions. Some storage
* backends might not support indexes.
* - unique keys: An array of Schema API unique key definitions. Some
* storage backends might not support unique keys.
* - foreign keys: An array of Schema API foreign key definitions. Note,
* however, that depending on the storage backend specified for the field,
* the field data is not necessarily stored in SQL.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment