diff --git a/core/lib/Drupal/Core/Theme/ThemeManager.php b/core/lib/Drupal/Core/Theme/ThemeManager.php index b7eff0bdd98c0246230d0b221d563b68975fb18d..31c10a739496cb74fa149858fe019df50cf967b2 100644 --- a/core/lib/Drupal/Core/Theme/ThemeManager.php +++ b/core/lib/Drupal/Core/Theme/ThemeManager.php @@ -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();