You are here

public function ModuleHandlerInterface::getModuleDirectories 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::getModuleDirectories()

Returns an array of directories for all enabled modules. Useful for tasks such as finding a file that exists in all module directories.

Return value

array

1 method overrides ModuleHandlerInterface::getModuleDirectories()
ModuleHandler::getModuleDirectories in core/lib/Drupal/Core/Extension/ModuleHandler.php
Returns an array of directories for all enabled modules. Useful for tasks such as finding a file that exists in all module directories.

File

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

Class

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

Namespace

Drupal\Core\Extension

Code

public function getModuleDirectories();