DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges

public DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)

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.

File

core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php, line 30

Class

DynamicallyFieldableEntityStorageSchemaInterface
A storage schema that supports entity types with dynamic field definitions.

Namespace

Drupal\Core\Entity\Schema

Code

1
public function requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.