public function OptionalModuleManager::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
- 8.8 src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
- 10.3.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
- 10.0.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
- 10.2.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
Constructs a OptionalModuleManager instance.
Parameters
\Drupal\Core\Extension\ModuleExtensionList $extension_list_module: The module extension list.
string $install_profile: The name of the active install profile.
File
- src/
Installer/ OptionalModuleManager.php, line 42
Class
- OptionalModuleManager
- Optional Module Manager.
Namespace
Drupal\social\InstallerCode
public function __construct(ModuleExtensionList $extension_list_module, string $install_profile) {
$this->moduleExtensionList = $extension_list_module;
$this->installProfile = $install_profile;
}