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 #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThat would be an awesome improvement. We need to make sure that we can determine the Drupal.org project title and namespace for any enabled modules.
Comment #3
adriancidI'm working on it ;-)
Comment #5
adriancidI think that his commit made the job :-) just check it.