Problem/Motivation
Using the Varbase Entity Definition Update Manager class from
#3051884: Switch to use [Varbase Entity Definition Update Manager] and remove deprecated \Drupal::entityDefinitionUpdateManager()->applyUpdates()
It has an old format. And it's not synced with the Devel Entity Updates module
Support for automatic entity updates has been removed
https://www.drupal.org/node/3034742User deprecated function: EntityDefinitionUpdateManagerInterface::applyUpdates() is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeList() and execute each entity type and field storage update manually instead.
Varbase Entity Definition Update Manager
Customized class from the Devel Entity Updates module
Development version of the entity definition update manager.
Steps to reproduce
Given on Varbase profile Install
When it needs to update entity definitions on install or updates
Then the old namespace was not right and the arguments had changed for Drupal 9
Proposed resolution
- Have a standalone class library to be manged under Vardot/entity-definition-update-manager
- Init Entity Definition Update Manager #1
- Submit to packagist.org ( https://packagist.org/packages/vardot/entity-definition-update-manager )
- Release
Vardot/entity-definition-update-manager1.0.0 - Switch to define a
final class VarbaseEntityDefinitionUpdateManager extends EntityDefinitionUpdateManager
Remaining tasks
- ✅ File an issue about this project
- ✅ Switch to use vardot/entity-definition-update-manager in Varbase profile
- ✅ Testing to ensure no regression
- ✅ Automated unit/functional testing coverage
- ✅ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Release varbase-9.0.2
User interface changes
- None
API changes
- None
Data model changes
- None
Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #8
rajab natshahhttps://app.circleci.com/pipelines/github/Vardot/varbase/366/workflows/1...
Comment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #17
rajab natshahComment #19
rajab natshahComment #20
rajab natshahComment #21
rajab natshahComment #22
rajab natshah