You are here

public function ProjectCollector::__construct in Upgrade Status 8

Same name and namespace in other branches
  1. 8.3 src/ProjectCollector.php \Drupal\upgrade_status\ProjectCollector::__construct()
  2. 8.2 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\ThemeHandler $theme_handler: The theme extension handler service.

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

File

src/ProjectCollector.php, line 60

Class

ProjectCollector
Collects projects collated for the purposes of upgrade status.

Namespace

Drupal\upgrade_status

Code

public function __construct(ModuleExtensionList $module_extension_list, ThemeHandler $theme_handler, ProfileExtensionList $profile_extension_list) {
  $this->moduleExtensionList = $module_extension_list;
  $this->themeHandler = $theme_handler;
  $this->profileExtensionList = $profile_extension_list;
}