You are here

public function ModuleHandler::isLoaded in Service Container 7.2

Same name and namespace in other branches
  1. 7 src/Extension/ModuleHandler.php \Drupal\service_container\Extension\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

src/Extension/ModuleHandler.php, line 77
Contains Drupal\service_container\Extension\ModuleHandler.

Class

ModuleHandler
Class that manages modules in a Drupal installation.

Namespace

Drupal\service_container\Extension

Code

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