public ModuleHandler::loadAllIncludes($type, $name = NULL)
Loads an include file for each enabled module.
string $type: The include file's type (file extension).
string $name: (optional) The base file name (without the $type extension). If omitted, each module's name is used; i.e., "$module.$type" by default.
Overrides ModuleHandlerInterface::loadAllIncludes
public function loadAllIncludes($type, $name = NULL) { foreach ($this->moduleList as $module => $filename) { $this->loadInclude($module, $type, $name); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ModuleHandler.php/function/ModuleHandler::loadAllIncludes/8.1.x