W3cubDocs

/Drupal 8

public function ModuleHandler::isLoaded

public ModuleHandler::isLoaded()

Returns whether all modules have been loaded.

Return value

bool A Boolean indicating whether all modules have been loaded. This means all modules; the load status of bootstrap modules cannot be checked.

Overrides ModuleHandlerInterface::isLoaded

File

core/lib/Drupal/Core/Extension/ModuleHandler.php, line 157

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\Core\Extension

Code

public function isLoaded() {
  return $this->loaded;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ModuleHandler.php/function/ModuleHandler::isLoaded/8.1.x