You are here

public function CivicrmEntityStorageSchema::requiresFieldStorageSchemaChanges in CiviCRM Entity 8.3

Checks if the changes to the storage definition requires schema changes.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The updated field storage definition.

\Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original field storage definition.

Return value

bool TRUE if storage schema changes are required, FALSE otherwise.

Overrides SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges

File

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

Class

CivicrmEntityStorageSchema
Implementation of the SqlContentEntityStorageSchema for CiviCRM entities.

Namespace

Drupal\civicrm_entity\Entity\Sql

Code

public function requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) {
  return FALSE;
}