Problem/Motivation
In #3069696: Remove BC layers from the entity system we removed most deprecated code from the entity system, but we missed at least a couple of trigger_error() calls:
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php: trigger_error('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. See https://www.drupal.org/node/3034742.', E_USER_DEPRECATED);
core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php: @trigger_error('Passing a single revision ID to "\Drupal\Core\Entity\Sql\SqlContentEntityStorage::buildQuery()" is deprecated in Drupal 8.5.x and will be removed before Drupal 9.0.0. An array of revision IDs should be given instead. See https://www.drupal.org/node/2924915.', E_USER_DEPRECATED);
Proposed resolution
Remove the remaining deprecated code.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3116103.patch | 3.15 KB | longwave |
Comments
Comment #2
longwaveAlso found a reference to ::applyUpdates() in a comment that no longer applies.
Comment #3
longwaveComment #4
gábor hojtsyLooks good.
Comment #5
alexpottCommitted 3c5abe4 and pushed to 9.0.x. Thanks!