public TwigExtension::setThemeManager(ThemeManagerInterface $theme_manager)
Sets the theme manager.
Parameters
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.
Return value
$this
File
- core/lib/Drupal/Core/Template/TwigExtension.php, line 102
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\Template
Code
public function setThemeManager(ThemeManagerInterface $theme_manager) { $this->themeManager = $theme_manager; return $this; }
Please login to continue.