Skip to content
Snippets Groups Projects

Added the field purgatory service

Open Anmol Goel requested to merge issue/drupal-2907780:2907780-add-a-field into 11.x
1 unresolved thread

Closes #2907780

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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
Loading