protected SqlContentEntityStorageSchema::saveEntitySchemaData(EntityTypeInterface $entity_type, $schema)
Stores schema data for the given entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
array $schema: The entity schema data array.
File
- core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 785
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\Sql
Code
1 2 3 4 | protected function saveEntitySchemaData(EntityTypeInterface $entity_type , $schema ) { $data = $this ->getEntitySchemaData( $entity_type , $schema ); $this ->installedStorageSchema()->set( $entity_type ->id() . '.entity_schema_data' , $data ); } |
Please login to continue.