protected SqlContentEntityStorageSchema::saveFieldSchemaData(FieldStorageDefinitionInterface $storage_definition, $schema)
Stores schema data for the given field storage definition.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.
array $schema: The field schema data array.
File
- core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 821
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\Sql
Code
1 2 3 | protected function saveFieldSchemaData(FieldStorageDefinitionInterface $storage_definition , $schema ) { $this ->installedStorageSchema()->set( $storage_definition ->getTargetEntityTypeId() . '.field_schema_data.' . $storage_definition ->getName(), $schema ); } |
Please login to continue.