public function ThemeDataCollector::__construct in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::__construct()
- 8 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::__construct()
- 8.2 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\DataCollectorCode
public function __construct(ThemeManagerInterface $themeManager, ThemeNegotiatorInterface $themeNegotiator, \Twig_Profiler_Profile $profile) {
$this->themeManager = $themeManager;
$this->themeNegotiator = $themeNegotiator;
$this->profile = $profile;
}