By mohit_aghera on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
Following ViewsArgument plugin's constructor arguments have been changed.
Drupal\taxonomy\Plugin\views\argument\IndexTidDepth::__construct().
Drupal\taxonomy\Plugin\views\argument\Taxonomy::__construct().
Before
Earlier it used to accept EntityStorageInterface derived from $container->get('entity_type.manager')->getStorage('taxonomy_term')
After
Now it is accepting EntityRepositoryInterface from service $container->get('entity.repository')
Passing EntityStorageInterface is deprecated now and will be removed in Drupal 11.x
Impacts:
Module developers
Site templates, recipes and distribution developers