function ComponentNegotiator::__construct
Constructs ComponentNegotiator objects.
Parameters
\Drupal\Core\Theme\ThemeManagerInterface $themeManager: The theme manager.
\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.
File
-
core/
lib/ Drupal/ Core/ Theme/ ComponentNegotiator.php, line 28
Class
- ComponentNegotiator
- Determines which component should be used.
Namespace
Drupal\Core\ThemeCode
public function __construct(protected ThemeManagerInterface $themeManager, protected ModuleExtensionList $moduleExtensionList) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.