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

podarok’s picture

Issue summary: View changes

Updated issue summary.

wizonesolutions’s picture

dawehner’s picture

Issue tags: +Novice

That can be a novice task, I guess ...

felribeiro’s picture

There 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.

lokapujya’s picture

Status: Active » Closed (duplicate)