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
554034ac
Commit
554034ac
authored
May 21, 2015
by
alexpott
Browse files
Issue
#2468565
by eiriksm: Entity type view should provide a context for its label
parent
72fce218
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/views/src/Entity/View.php
View file @
554034ac
...
...
@@ -20,7 +20,7 @@
*
* @ConfigEntityType(
* id = "view",
* label = @Translation("View"),
* label = @Translation("View"
, context = "View entity type"
),
* handlers = {
* "access" = "Drupal\views\ViewAccessControlHandler"
* },
...
...
core/modules/views/views.tokens.inc
View file @
554034ac
...
...
@@ -12,7 +12,7 @@
*/
function
views_token_info
()
{
$info
[
'types'
][
'view'
]
=
array
(
'name'
=>
t
(
'View'
),
'name'
=>
t
(
'View'
,
[],
[
'context'
=>
'View entity type'
]
),
'description'
=>
t
(
'Tokens related to views.'
),
'needs-data'
=>
'view'
,
);
...
...
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