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.
Implement lazy file loading for Feeds.
Which means the following function:
/**
* Implements hook_init().
*/
function references_init() {
// Include feeds.module integration.
if (module_exists('feeds')) {
module_load_include('inc','references','references.feeds');
}
}
is not needed at all in 7.x
This would improve some performance for every request.
See: #588766: Standardize lazy-loading of optional include files
Comments
Comment #0.0
kenorb CreditAttribution: kenorb commentedadded 7.x
Comment #0.1
kenorb CreditAttribution: kenorb commentedadded sentence
Comment #1
kenorb CreditAttribution: kenorb commented