You are here

public function CivicrmEntityStorageSchema::requiresEntityStorageSchemaChanges in CiviCRM Entity 8.3

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 SqlContentEntityStorageSchema::requiresEntityStorageSchemaChanges

File

src/Entity/Sql/CivicrmEntityStorageSchema.php, line 50

Class

CivicrmEntityStorageSchema
Implementation of the SqlContentEntityStorageSchema for CiviCRM entities.

Namespace

Drupal\civicrm_entity\Entity\Sql

Code

public function requiresEntityStorageSchemaChanges(EntityTypeInterface $entity_type, EntityTypeInterface $original) {
  return FALSE;
}