Commit 4b36aab5 authored by catch's avatar catch

Issue #2531972 by dawehner: Move ThemeManager::theme() to ThemeManager::render()

parent 85798b8e
......@@ -93,13 +93,6 @@ public function setThemeRegistry(Registry $theme_registry) {
return $this;
}
/**
* {@inheritdoc}
*/
public function render($hook, array $variables) {
return $this->theme($hook, $variables);
}
/**
* {@inheritdoc}
*/
......@@ -137,11 +130,9 @@ public function setActiveTheme(ActiveTheme $active_theme) {
}
/**
* Generates themed output (internal use only).
*
* @see \Drupal\Core\Render\RendererInterface::render();
* {@inheritdoc}
*/
protected function theme($hook, $variables = array()) {
public function render($hook, array $variables) {
static $default_attributes;
$active_theme = $this->getActiveTheme();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment