You are here

public function ComponentsInfo::getAllModuleInfo in Components! 8.2

Retrieves the components info for all modules.

@internal

Return value

array The components info, keyed by module name.

File

src/Template/ComponentsInfo.php, line 224

Class

ComponentsInfo
Loads info about components defined in themes or modules.

Namespace

Drupal\components\Template

Code

public function getAllModuleInfo() {
  $this
    ->init();
  return $this->moduleInfo;
}