Proposal to Utilize getEntity() for Performance Improvement

Created on 31 March 2025, 16 days ago

First of all, thank you for this module and your contributions to the Drupal community.

With the recent change in Drupal Core, where the getEntity() function has been made public, I believe we can update this module to leverage it. Additionally, we have observed slight performance improvements in function calls when using this approach.

In my current project, we are dealing with a large number of menu itemsโ€”more than 500(which is somewhat of an exception).
Given this scale, we have observed that contributed menu modules, such as translatable_menu_link_uri, can benefit significantly from using getEntity(), leading to noticeable performance improvements.

โœจ Feature request
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia das.gautam27@yahoo.com Pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024