Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0e903bd8
Commit
0e903bd8
authored
Jun 19, 2013
by
alexpott
Browse files
Issue
#2009578
by giammi, InternetDevels: Replace theme() with drupal_render() in history module.
parent
e52a3bbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
View file @
0e903bd8
...
...
@@ -90,7 +90,11 @@ function render($values) {
elseif
(
$last_comment
>
$last_read
&&
$last_comment
>
HISTORY_READ_LIMIT
)
{
$mark
=
MARK_UPDATED
;
}
return
$this
->
render_link
(
theme
(
'mark'
,
array
(
'mark_type'
=>
$mark
)),
$values
);
$build
=
array
(
'#theme'
=>
'mark'
,
'#mark_type'
=>
$mark
,
);
return
$this
->
render_link
(
drupal_render
(
$build
),
$values
);
}
}
...
...
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