You are here

public function ModuleHandlerInterface::loadAllIncludes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 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);