protected function SqlContentEntityStorageSchema::loadEntitySchemaData in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::loadEntitySchemaData()
- 9 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::loadEntitySchemaData()
Loads stored schema data for the given entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
Return value
array The entity schema data array.
3 calls to SqlContentEntityStorageSchema::loadEntitySchemaData()
- SqlContentEntityStorageSchema::deleteSharedTableSchema in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Deletes the schema for a field stored in a shared table.
- SqlContentEntityStorageSchema::onEntityTypeUpdate in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Reacts to the update of the entity type.
- SqlContentEntityStorageSchema::requiresEntityStorageSchemaChanges in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Checks if the changes to the entity type requires storage schema changes.
File
- core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php, line 1229
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\SqlCode
protected function loadEntitySchemaData(EntityTypeInterface $entity_type) {
return $this
->installedStorageSchema()
->get($entity_type
->id() . '.entity_schema_data', []);
}