You are here

public function ModuleHandlerInterface::loadAllIncludes in Service Container 7.2

Same name and namespace in other branches
  1. 7 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 src/Extension/ModuleHandler.php
Loads an include file for each enabled module.

File

lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 142
Contains \Drupal\Core\Extension\ModuleHandlerInterface.

Class

ModuleHandlerInterface
Interface for classes that manage a set of enabled modules.

Namespace

Drupal\Core\Extension

Code

public function loadAllIncludes($type, $name = NULL);