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.
Problem/Motivation
The system_rebuild_module_data()
function is used to retrieve the installed modules but this is not the best way to obtain this info because this functions performs others actions that are not necessary.
Proposed resolution
Change the system_rebuild_module_data() function for the system_get_info() function
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #4
adriancidComment #5
adriancidComment #8
adriancidComment #10
adriancid