You are here

public function OptionalModuleManager::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 8.8 src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
  2. 10.3.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
  3. 10.0.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
  4. 10.1.x src/Installer/OptionalModuleManager.php \Drupal\social\Installer\OptionalModuleManager::__construct()
  5. 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\Installer

Code

public function __construct(ModuleExtensionList $extension_list_module, string $install_profile) {
  $this->moduleExtensionList = $extension_list_module;
  $this->installProfile = $install_profile;
}