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
a4109b3b
Commit
a4109b3b
authored
Sep 09, 2014
by
alexpott
Browse files
Issue
#466416
by mgifford, benjf, RobLoach | timtrinidad: Add Mouseover Title for dblog Entries.
parent
e3e03023
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/dblog/src/Controller/DbLogController.php
View file @
a4109b3b
...
...
@@ -173,7 +173,13 @@ public function overview() {
if
(
$message
&&
isset
(
$dblog
->
wid
))
{
// Truncate link_text to 56 chars of message.
$log_text
=
Unicode
::
truncate
(
Xss
::
filter
(
$message
,
array
()),
56
,
TRUE
,
TRUE
);
$message
=
$this
->
l
(
$log_text
,
'dblog.event'
,
array
(
'event_id'
=>
$dblog
->
wid
),
array
(
'html'
=>
TRUE
));
$message
=
$this
->
l
(
$log_text
,
'dblog.event'
,
array
(
'event_id'
=>
$dblog
->
wid
),
array
(
'attributes'
=>
array
(
// Provide a title for the link for useful hover hints.
'title'
=>
Unicode
::
truncate
(
strip_tags
(
$message
),
256
,
TRUE
,
TRUE
),
),
'html'
=>
TRUE
,
));
}
$username
=
array
(
'#theme'
=>
'username'
,
...
...
Write
Preview
Supports
Markdown
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