Added the field purgatory service
1 unresolved thread
1 unresolved thread
Closes #2907780
Merge request reports
Activity
added 1 commit
- ba9e9b75 - Handled Cspell error and removed field_purge_batch() function call.
added 1 commit
- dde9a5c4 - Updated system.schema.yml to include constraint FullyValidatable
added 1 commit
- d5ad49d0 - Added alias for Purgatory service in core.services.yml
added 11 commits
-
d5ad49d0...7f543411 - 9 commits from branch
project:11.x
- 1071dd07 - Merge branch '11.x' into 2907780-add-a-field
- 3ef48c56 - Rename the new service and bring it up to current core standards.
-
d5ad49d0...7f543411 - 9 commits from branch
- core/lib/Drupal/Core/Field/FieldPurger.php 0 → 100644
51 break; 52 } 53 } 54 55 // Retrieve all deleted field storage definitions. Any that have no fields 56 // can be purged. 57 foreach ($this->deletedFieldsRepository->getFieldStorageDefinitions() as $field_storage) { 58 if ($field_storage_unique_id && $field_storage->getUniqueStorageIdentifier() != $field_storage_unique_id) { 59 // If a specific UUID is provided, only purge the corresponding field. 60 continue; 61 } 62 63 // We cannot purge anything if the entity type is unknown (e.g. the 64 // providing module was uninstalled). 65 if (!isset($info[$field_storage->getTargetEntityTypeId()])) { 66 continue;
Please register or sign in to reply