You are here

public function ProjectCollector::__construct in Upgrade Rector 8

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 rector.

Namespace

Drupal\upgrade_rector

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;
}