public function SqlContentEntityStorage::requiresEntityStorageSchemaChanges in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php \Drupal\Core\Entity\Sql\SqlContentEntityStorage::requiresEntityStorageSchemaChanges()
- 10 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php \Drupal\Core\Entity\Sql\SqlContentEntityStorage::requiresEntityStorageSchemaChanges()
Checks if the changes to the entity type requires storage schema changes.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition.
\Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition.
Return value
bool TRUE if storage schema changes are required, FALSE otherwise.
Overrides EntityStorageSchemaInterface::requiresEntityStorageSchemaChanges
File
- core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php, line 1442
Class
- SqlContentEntityStorage
- A content entity database storage implementation.
Namespace
Drupal\Core\Entity\SqlCode
public function requiresEntityStorageSchemaChanges(EntityTypeInterface $entity_type, EntityTypeInterface $original) {
return $this
->getStorageSchema()
->requiresEntityStorageSchemaChanges($entity_type, $original);
}