function EntityDefinitionUpdateManagerInterface::updateFieldableEntityType

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::updateFieldableEntityType()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::updateFieldableEntityType()
  3. 10 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::updateFieldableEntityType()

Applies any change performed to a fieldable entity type definition.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition.

\Drupal\Core\Field\FieldStorageDefinitionInterface[] $field_storage_definitions: The updated field storage definitions, including possibly new ones.

array &$sandbox: (optional) A sandbox array provided by a hook_update_N() implementation or a Batch API callback. If the entity schema update requires a data migration, this parameter is mandatory. Defaults to NULL.

1 method overrides EntityDefinitionUpdateManagerInterface::updateFieldableEntityType()
EntityDefinitionUpdateManager::updateFieldableEntityType in core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
Applies any change performed to a fieldable entity type definition.

File

core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 173

Class

EntityDefinitionUpdateManagerInterface
Defines an interface for managing entity definition updates.

Namespace

Drupal\Core\Entity

Code

public function updateFieldableEntityType(EntityTypeInterface $entity_type, array $field_storage_definitions, ?array &$sandbox = NULL);

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