function DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php \Drupal\Core\Entity\Schema\DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges()
  2. 8.9.x core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php \Drupal\Core\Entity\Schema\DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges()
  3. 11.x core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php \Drupal\Core\Entity\Schema\DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges()

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.

2 methods override DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges()
SqlContentEntityStorage::requiresFieldStorageSchemaChanges in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Checks if the changes to the storage definition requires schema changes.
SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Checks if the changes to the storage definition requires schema changes.

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

public function requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.