Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
224
Merge Requests
224
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
4b36aab5
Commit
4b36aab5
authored
Jul 21, 2015
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2531972
by dawehner: Move ThemeManager::theme() to ThemeManager::render()
parent
85798b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
core/lib/Drupal/Core/Theme/ThemeManager.php
core/lib/Drupal/Core/Theme/ThemeManager.php
+2
-11
No files found.
core/lib/Drupal/Core/Theme/ThemeManager.php
View file @
4b36aab5
...
...
@@ -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}
*/
p
rotected
function
theme
(
$hook
,
$variables
=
array
()
)
{
p
ublic
function
render
(
$hook
,
array
$variables
)
{
static
$default_attributes
;
$active_theme
=
$this
->
getActiveTheme
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment