You are here

public function CiviEntityStorage::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 SqlContentEntityStorage::requiresEntityStorageSchemaChanges

File

src/CiviEntityStorage.php, line 554

Class

CiviEntityStorage
Defines entity class for external CiviCRM entities.

Namespace

Drupal\civicrm_entity

Code

public function requiresEntityStorageSchemaChanges(EntityTypeInterface $entity_type, EntityTypeInterface $original) {

  // The entity base table is managed by CiviCRM.
  return FALSE;
}