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
286
Merge Requests
286
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
24764e7f
Commit
24764e7f
authored
Jun 28, 2013
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2029453
by pcambra: Move views node links back to node table.
parent
4e979263
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
core/modules/node/config/views.view.content.yml
core/modules/node/config/views.view.content.yml
+2
-2
core/modules/node/node.views.inc
core/modules/node/node.views.inc
+3
-11
No files found.
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