ModuleHandlerInterface::addModule

public ModuleHandlerInterface::addModule($name, $path)

Adds a module to the list of currently active modules.

Parameters

string $name: The module name; e.g., 'node'.

string $path: The module path; e.g., 'core/modules/node'.

File

core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 86

Class

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

Namespace

Drupal\Core\Extension

Code

public function addModule($name, $path);
doc_Drupal
2016-10-29 09:29:19
Comments
Leave a Comment

Please login to continue.