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
24764e7f
Commit
24764e7f
authored
Jun 28, 2013
by
catch
Browse files
Issue
#2029453
by pcambra: Move views node links back to node table.
parent
4e979263
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/node/config/views.view.content.yml
View file @
24764e7f
...
...
@@ -200,7 +200,7 @@ display:
plugin_id
:
date
edit_node
:
id
:
edit_node
table
:
views_entity_
node
table
:
node
field
:
edit_node
label
:
'
'
exclude
:
'
1'
...
...
@@ -208,7 +208,7 @@ display:
plugin_id
:
node_link_edit
delete_node
:
id
:
delete_node
table
:
views_entity_
node
table
:
node
field
:
delete_node
label
:
'
'
exclude
:
'
1'
...
...
core/modules/node/node.views.inc
View file @
24764e7f
...
...
@@ -235,15 +235,7 @@ function node_views_data() {
),
);
// Define some fields based upon views_handler_field_entity in the entity
// table so they can be re-used with other query backends.
// @see views_handler_field_entity
// Define the base group of this table. Fields that don't have a group defined
// will go into this field by default.
$data
[
'views_entity_node'
][
'table'
][
'group'
]
=
t
(
'Content'
);
$data
[
'views_entity_node'
][
'view_node'
]
=
array
(
$data
[
'node'
][
'view_node'
]
=
array
(
'field'
=>
array
(
'title'
=>
t
(
'Link to content'
),
'help'
=>
t
(
'Provide a simple link to the content.'
),
...
...
@@ -251,7 +243,7 @@ function node_views_data() {
),
);
$data
[
'
views_entity_
node'
][
'edit_node'
]
=
array
(
$data
[
'node'
][
'edit_node'
]
=
array
(
'field'
=>
array
(
'title'
=>
t
(
'Link to edit content'
),
'help'
=>
t
(
'Provide a simple link to edit the content.'
),
...
...
@@ -259,7 +251,7 @@ function node_views_data() {
),
);
$data
[
'
views_entity_
node'
][
'delete_node'
]
=
array
(
$data
[
'node'
][
'delete_node'
]
=
array
(
'field'
=>
array
(
'title'
=>
t
(
'Link to delete content'
),
'help'
=>
t
(
'Provide a simple link to delete the content.'
),
...
...
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