By MerryHamster on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.4.x
Introduced in version:
9.4.0
Issue links:
Description:
The function module_load_include($type, $module, $name = NULL) is deprecated. Use \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL); instead.
Notes:
- The
ModuleHandler::loadInclude()parameters are not in the same order. The first 2 parameters reversed when compared to themodule_load_include()function. ModuleHandler::loadInclude()does not support including code from uninstalled extensions.
Impacts:
Module developers