TwigExtension::setThemeManager

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;
}
doc_Drupal
2016-10-29 09:49:42
Comments
Leave a Comment

Please login to continue.