You are here

public function ProjectCollector::__construct in Upgrade Status 8.2

Same name and namespace in other branches
  1. 8.3 src/ProjectCollector.php \Drupal\upgrade_status\ProjectCollector::__construct()
  2. 8 src/ProjectCollector.php \Drupal\upgrade_status\ProjectCollector::__construct()

Constructs a \Drupal\upgrade_status\ProjectCollector.

Parameters

\Drupal\Core\Extension\ModuleExtensionList $module_extension_list: The module extension list service.

\Drupal\Core\Extension\ThemeExtensionList $theme_extension_list: The theme extension handler service.

\Drupal\Core\Extension\ProfileExtensionList $profile_extension_list: The profile extension handler service.

File

src/ProjectCollector.php, line 57

Class

ProjectCollector
Collects projects collated for the purposes of upgrade status.

Namespace

Drupal\upgrade_status

Code

public function __construct(ModuleExtensionList $module_extension_list, ThemeExtensionList $theme_extension_list, ProfileExtensionList $profile_extension_list) {
  $this->moduleExtensionList = $module_extension_list;
  $this->themeExtensionList = $theme_extension_list;
  $this->profileExtensionList = $profile_extension_list;
}