Issue #2531972 by dawehner: Move ThemeManager::theme() to ThemeManager::render()
parent
85798b8e1c
commit
4b36aab5fa
|
@ -93,13 +93,6 @@ class ThemeManager implements ThemeManagerInterface {
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function render($hook, array $variables) {
|
||||
return $this->theme($hook, $variables);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@ -137,11 +130,9 @@ class ThemeManager implements ThemeManagerInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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();
|
||||
|
|
Loading…
Reference in New Issue