Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The patch in #916388-161: Convert menu links into entities added a lot of different kind of entity_load_multiple_by_properties() uses.
In general they should be better converted to use entity_query, as entity_load_multiple_by_properties() will maybe disappear one day.
Comments
Comment #0.0
podarokUpdated issue summary.
Comment #1
wizonesolutionsComment #2
dawehnerThat can be a novice task, I guess ...
Comment #3
felribeiro CreditAttribution: felribeiro at CI&T commentedThere is no more
$menu_links = entity_load_multiple_by_properties('menu_link'... in the code.
Some of them were changed to
$menu_link_manager = \Drupal::service('plugin.manager.menu.link');
$menu_links = $menu_link_manager->loadLinksByRoute('menu_test.menu_name_test');
Others were removed with the entire function.
Comment #4
lokapujyahttps://www.drupal.org/node/1887058