
Problem/Motivation
Change record: https://www.drupal.org/node/3260849
Steps to reproduce
Proposed resolution
use getPrefix()
method if available and fallback to tablePrefix()
for older version of core
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork entity_hierarchy-3403718
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
el7cosmosComment #4
larowlanCan we make use of this new helper here instead? https://www.drupal.org/node/3371619
Comment #5
el7cosmosThat is only available in >=10.1.
If we want to change the version constraint, say release a new version that require core ^10.1, we might as well replace the method call altogether as the `getPrefix` also introduced in 10.1.
Comment #6
larowlanAh didn't realise - thanks
Happy to do that, 10.0 is nearly EOL
Comment #7
dpiGetting these pop up with Symfony bridge / deprecation helper since during entity updates the deprecation is triggered. e.g:
entity_hierarchy_entity_update->ParentEntityReactionBase->\Drupal\entity_hierarchy\Storage\NestedSetStorageFactory::__construct
Comment #8
larowlanLet's bump the minimum version to 10.1 and remove the method_exists dance - thanks!
Comment #9
dpiComment #10
dpi10.1 minimum, update usage to use new method exclusively.
Comment #12
larowlanThanks, will tag a new 3.x release