function ModuleHandlerInterface::loadAllIncludes
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php \Drupal\Core\Extension\ModuleHandlerInterface::loadAllIncludes()
- 8.9.x core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php \Drupal\Core\Extension\ModuleHandlerInterface::loadAllIncludes()
- 10 core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php \Drupal\Core\Extension\ModuleHandlerInterface::loadAllIncludes()
Loads an include file for each enabled module.
Parameters
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.
1 method overrides ModuleHandlerInterface::loadAllIncludes()
- ModuleHandler::loadAllIncludes in core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php - Loads an include file for each enabled module.
File
-
core/
lib/ Drupal/ Core/ Extension/ ModuleHandlerInterface.php, line 137
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\ExtensionCode
public function loadAllIncludes($type, $name = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.