function ExtensionPathResolver::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ExtensionPathResolver.php \Drupal\Core\Extension\ExtensionPathResolver::__construct()
- 10 core/lib/Drupal/Core/Extension/ExtensionPathResolver.php \Drupal\Core\Extension\ExtensionPathResolver::__construct()
ExtensionPathResolver constructor.
Parameters
\Drupal\Core\Extension\ModuleExtensionList $module_extension_list: The module extension list.
\Drupal\Core\Extension\ProfileExtensionList $profile_extension_list: The profile extension list.
\Drupal\Core\Extension\ThemeExtensionList $theme_extension_list: The theme extension list.
\Drupal\Core\Extension\ThemeEngineExtensionList $theme_engine_extension_list: The theme engine extension list.
File
-
core/
lib/ Drupal/ Core/ Extension/ ExtensionPathResolver.php, line 32
Class
- ExtensionPathResolver
- Factory for getting extension lists by type.
Namespace
Drupal\Core\ExtensionCode
public function __construct(ModuleExtensionList $module_extension_list, ProfileExtensionList $profile_extension_list, ThemeExtensionList $theme_extension_list, ThemeEngineExtensionList $theme_engine_extension_list) {
$this->extensionLists['module'] = $module_extension_list;
$this->extensionLists['profile'] = $profile_extension_list;
$this->extensionLists['theme'] = $theme_extension_list;
$this->extensionLists['theme_engine'] = $theme_engine_extension_list;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.