/**
* {@inheritdoc}
*/
public function requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface
$storage_definition, FieldStorageDefinitionInterface
$original) { $table_mapping =
$this->
getTableMapping($this->entityType
);
if ( $storage_definition->
hasCustomStorage() !=
$original->
hasCustomStorage() ||
$storage_definition->
getSchema() !=
$original->
getSchema() ||
$storage_definition->
isRevisionable() !=
$original->
isRevisionable() ||
$table_mapping->
allowsSharedTableStorage($storage_definition) !=
$table_mapping->
allowsSharedTableStorage($original) ||
$table_mapping->
requiresDedicatedTableStorage($storage_definition) !=
$table_mapping->
requiresDedicatedTableStorage($original) ) { return TRUE;
} if ($storage_definition->
hasCustomStorage()) { // The field has custom storage, so we don't know if a schema change is
// needed or not, but since per the initial checks earlier in this
// function, nothing about the definition changed that we manage, we
// return FALSE.
return FALSE;
}