You are here

public function ThemeDataCollector::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::__construct()
  2. 8.2 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::__construct()
  3. 4.x webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::__construct()

Parameters

\Drupal\Core\Theme\ThemeManagerInterface $themeManager:

\Drupal\Core\Theme\ThemeNegotiatorInterface $themeNegotiator:

\Twig_Profiler_Profile $profile:

File

webprofiler/src/DataCollector/ThemeDataCollector.php, line 48

Class

ThemeDataCollector
Class ThemeDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(ThemeManagerInterface $themeManager, ThemeNegotiatorInterface $themeNegotiator, \Twig_Profiler_Profile $profile) {
  $this->themeManager = $themeManager;
  $this->themeNegotiator = $themeNegotiator;
  $this->profile = $profile;
}