Skip to content
Snippets Groups Projects

Draft: [11.x] Remove deprecated code from system module

1 unresolved thread

Closes #3425419

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
1363 1220 unset($info['Zip']);
1364 1221 }
1365 1222 }
1366
1367 /**
1368 * Implements hook_ENTITY_TYPE_presave() for entity_view_display entities.
1369 *
1370 * Provides a BC layer for modules providing old configurations.
1371 *
1372 * @see https://www.drupal.org/node/2993639
1373 *
1374 * @todo Remove this BC layer in drupal:11.0.0.
1375 */
1376 function system_entity_view_display_presave(EntityViewDisplayInterface $entity_view_display): void {
  • Maintainer

    Removing the presave (and others) without also removing the update here leaves things out of sync a bit, the update will run but it'll be a no-op. However, I think this makes sense because we need to remove all the updates/post updates in one go across modules, and regenerating database dumps will need to happen on the 10.3 branch anyway.

  • Please register or sign in to reply
  • Please register or sign in to reply
    Loading