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
015d61bc
Commit
015d61bc
authored
Dec 26, 2012
by
webchick
Browse files
Issue
#1810480
by dawehner, ACF: Provide the plugin_id() to support views metadata integration.
parent
2413b63e
Changes
60
Hide whitespace changes
Inline
Side-by-side
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml
View file @
015d61bc
...
...
@@ -20,6 +20,7 @@ display:
summary_options
:
items_per_page
:
'
25'
table
:
node
plugin_id
:
argument_comment_user_uid
cache
:
type
:
none
exposed_form
:
...
...
@@ -29,6 +30,7 @@ display:
field
:
nid
id
:
nid
table
:
node
plugin_id
:
node
pager
:
type
:
full
query
:
...
...
core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml
View file @
015d61bc
...
...
@@ -13,6 +13,7 @@ display:
field
:
nid
id
:
nid
table
:
node
plugin_id
:
node
cache
:
type
:
none
exposed_form
:
...
...
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml
View file @
015d61bc
...
...
@@ -17,6 +17,7 @@ display:
id
:
nid
table
:
node
field
:
nid
plugin_id
:
node
filter_groups
:
groups
:
1
:
AND
...
...
@@ -32,6 +33,7 @@ display:
table
:
node
value
:
-
'
1'
plugin_id
:
node_uid_revision
sorts
:
{
}
pager
:
type
:
full
...
...
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml
View file @
015d61bc
...
...
@@ -10,26 +10,31 @@ display:
id
:
nid
table
:
node_revision
field
:
nid
required
:
TRUE
required
:
true
plugin_id
:
standard
fields
:
vid
:
id
:
vid
table
:
node_revision
field
:
vid
plugin_id
:
standard
nid_1
:
id
:
nid_1
table
:
node_revision
field
:
nid
plugin_id
:
standard
nid
:
id
:
nid
table
:
node
field
:
nid
relationship
:
nid
plugin_id
:
node
arguments
:
nid
:
id
:
nid
:
id
:
nid
table
:
node_revision
field
:
nid
plugin_id
:
node_nid
display_plugin
:
default
display_title
:
Master
id
:
default
...
...
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml
View file @
015d61bc
...
...
@@ -10,26 +10,31 @@ display:
id
:
vid
table
:
node_revision
field
:
vid
required
:
TRUE
required
:
true
plugin_id
:
standard
fields
:
vid
:
id
:
vid
table
:
node_revision
field
:
vid
plugin_id
:
standard
nid_1
:
id
:
nid_1
table
:
node_revision
field
:
nid
plugin_id
:
standard
nid
:
id
:
nid
table
:
node
field
:
nid
relationship
:
vid
plugin_id
:
node
arguments
:
nid
:
id
:
nid
:
id
:
nid
table
:
node_revision
field
:
nid
plugin_id
:
node_nid
display_plugin
:
default
display_title
:
Master
id
:
default
...
...
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml
View file @
015d61bc
...
...
@@ -76,6 +76,7 @@ display:
empty_zero
:
'
0'
hide_alter_empty
:
'
1'
link_to_node
:
'
0'
plugin_id
:
node
filters
:
status_extra
:
id
:
status_extra
...
...
@@ -112,12 +113,14 @@ display:
default_group
:
All
default_group_multiple
:
{
}
group_items
:
{
}
plugin_id
:
node_status
sorts
:
nid
:
id
:
nid
table
:
node
field
:
nid
order
:
ASC
plugin_id
:
standard
filter_groups
:
operator
:
AND
groups
:
...
...
core/modules/system/lib/Drupal/system/Plugin/views/row/EntityRow.php
View file @
015d61bc
...
...
@@ -118,7 +118,7 @@ public function pre_render($result) {
parent
::
pre_render
(
$result
);
if
(
$result
)
{
// Get all entities which will be used to render in rows.
// Get all entities which will be used to render in rows.
c
$entities
=
array
();
foreach
(
$result
as
$row
)
{
$entity
=
$row
->
_entity
;
...
...
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml
View file @
015d61bc
...
...
@@ -18,11 +18,13 @@ display:
field
:
name
id
:
name
table
:
taxonomy_term_data
plugin_id
:
taxonomy
nid
:
field
:
nid
id
:
nid
relationship
:
tid_representative
table
:
node
plugin_id
:
node
pager
:
options
:
items_per_page
:
'
10'
...
...
@@ -44,6 +46,7 @@ display:
subquery_sort
:
node.nid
subquery_view
:
'
'
table
:
taxonomy_term_data
plugin_id
:
groupwise_max
row
:
type
:
fields
sorts
:
...
...
@@ -52,6 +55,7 @@ display:
id
:
tid
order
:
DESC
table
:
taxonomy_term_data
plugin_id
:
standard
style
:
type
:
default
title
:
test_groupwise
...
...
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml
View file @
015d61bc
...
...
@@ -20,6 +20,7 @@ display:
summary_options
:
items_per_page
:
'
25'
table
:
taxonomy_term_data
plugin_id
:
taxonomy
tid_1
:
default_argument_type
:
fixed
field
:
tid
...
...
@@ -31,6 +32,7 @@ display:
summary_options
:
items_per_page
:
'
25'
table
:
taxonomy_term_data
plugin_id
:
taxonomy
cache
:
type
:
none
exposed_form
:
...
...
@@ -47,6 +49,7 @@ display:
table
:
node
vocabularies
:
tags
:
'
0'
plugin_id
:
node_term_data
term_node_tid_1
:
field
:
term_node_tid
id
:
term_node_tid_1
...
...
@@ -54,6 +57,7 @@ display:
table
:
node
vocabularies
:
tags
:
'
0'
plugin_id
:
node_term_data
sorts
:
nid
:
field
:
nid
...
...
core/modules/user/tests/user_test_views/test_views/views.view.test_groupwise_user.yml
View file @
015d61bc
...
...
@@ -19,11 +19,13 @@ display:
field
:
name
id
:
name
table
:
users
plugin_id
:
user_name
nid
:
field
:
nid
id
:
nid
relationship
:
uid_representative
table
:
node
plugin_id
:
node
filters
:
status
:
expose
:
...
...
@@ -33,6 +35,7 @@ display:
id
:
status
table
:
users
value
:
'
1'
plugin_id
:
boolean
pager
:
options
:
items_per_page
:
'
10'
...
...
@@ -54,6 +57,7 @@ display:
subquery_sort
:
node.nid
subquery_view
:
'
'
table
:
users
plugin_id
:
groupwise_max
row
:
type
:
fields
sorts
:
...
...
@@ -62,6 +66,7 @@ display:
id
:
created
order
:
DESC
table
:
users
plugin_id
:
date
style
:
type
:
default
title
:
test_groupwise_user
...
...
core/modules/user/tests/user_test_views/test_views/views.view.test_user_relationship.yml
View file @
015d61bc
...
...
@@ -37,6 +37,7 @@ display:
link_to_user
:
'
1'
overwrite_anonymous
:
'
0'
table
:
users
plugin_id
:
user_name
title
:
alter
:
absolute
:
'
0'
...
...
@@ -54,6 +55,7 @@ display:
label
:
'
'
link_to_node
:
'
1'
table
:
node
plugin_id
:
node
uid
:
alter
:
absolute
:
'
0'
...
...
@@ -77,6 +79,7 @@ display:
id
:
uid
link_to_user
:
'
1'
table
:
users
plugin_id
:
user
pager
:
options
:
items_per_page
:
'
10'
...
...
core/modules/user/tests/user_test_views/test_views/views.view.test_user_uid_argument.yml
View file @
015d61bc
...
...
@@ -11,6 +11,7 @@ display:
id
:
uid
table
:
users
field
:
uid
plugin_id
:
user
arguments
:
uid
:
id
:
uid
...
...
@@ -18,6 +19,7 @@ display:
field
:
uid
title_enable
:
true
title
:
%
1
plugin_id
:
user_uid
display_plugin
:
default
display_title
:
Master
id
:
default
...
...
core/modules/user/tests/user_test_views/test_views/views.view.test_view_argument_validate_user.yml
View file @
015d61bc
...
...
@@ -18,6 +18,7 @@ display:
table
:
views
validate
:
type
:
user
plugin_id
:
'
null'
cache
:
type
:
none
exposed_form
:
...
...
core/modules/user/tests/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml
View file @
015d61bc
...
...
@@ -31,6 +31,7 @@ display:
link_to_user
:
'
1'
overwrite_anonymous
:
'
0'
table
:
users
plugin_id
:
user_name
pager
:
type
:
full
query
:
...
...
core/modules/views/config/views.view.archive.yml
View file @
015d61bc
...
...
@@ -33,6 +33,7 @@ display:
table
:
node
field
:
created
order
:
DESC
plugin_id
:
date
arguments
:
created_year_month
:
id
:
created_year_month
...
...
@@ -51,6 +52,7 @@ display:
override
:
true
items_per_page
:
'
30'
specify_validation
:
1
plugin_id
:
node_created_year_month
filters
:
status
:
id
:
status
...
...
@@ -60,6 +62,7 @@ display:
group
:
0
expose
:
operator
:
false
plugin_id
:
boolean
style
:
type
:
default
row
:
...
...
@@ -101,3 +104,4 @@ display:
summary_options
:
items_per_page
:
'
30'
specify_validation
:
1
plugin_id
:
node_created_year_month
core/modules/views/config/views.view.backlinks.yml
View file @
015d61bc
...
...
@@ -36,6 +36,7 @@ display:
empty
:
false
content
:
'
No
backlinks
found.'
format
:
'
1'
plugin_id
:
text
fields
:
title
:
id
:
title
...
...
@@ -43,6 +44,7 @@ display:
field
:
title
label
:
'
'
link_to_node
:
1
plugin_id
:
node
arguments
:
nid
:
id
:
nid
...
...
@@ -66,6 +68,7 @@ display:
group
:
0
expose
:
operator
:
false
plugin_id
:
boolean
style
:
type
:
html_list
options
:
...
...
core/modules/views/config/views.view.comments_recent.yml
View file @
015d61bc
...
...
@@ -35,6 +35,7 @@ display:
id
:
nid
table
:
comment
field
:
nid
plugin_id
:
standard
fields
:
subject
:
id
:
subject
...
...
@@ -42,18 +43,21 @@ display:
field
:
subject
label
:
'
'
link_to_comment
:
1
plugin_id
:
comment
timestamp
:
id
:
timestamp
table
:
comment
field
:
changed
label
:
'
'
date_format
:
'
time
ago'
plugin_id
:
date
sorts
:
timestamp
:
id
:
timestamp
table
:
comment
field
:
changed
order
:
DESC
plugin_id
:
date
filters
:
status_extra
:
id
:
status_extra
...
...
@@ -61,6 +65,7 @@ display:
field
:
status_extra
relationship
:
nid
group
:
0
plugin_id
:
node_status
style
:
type
:
html_list
row
:
...
...
@@ -88,23 +93,27 @@ display:
relationship
:
nid
label
:
'
Reply
to'
link_to_node
:
1
plugin_id
:
node
timestamp
:
id
:
timestamp
table
:
comment
field
:
changed
label
:
'
'
date_format
:
'
time
ago'
plugin_id
:
date
subject
:
id
:
subject
table
:
comment
field
:
subject
label
:
'
'
link_to_comment
:
1
plugin_id
:
comment
comment
:
id
:
comment
table
:
field_data_comment_body
field
:
comment_body
label
:
'
'
plugin_id
:
field
path
:
comments/recent
style
:
type
:
html_list
...
...
core/modules/views/config/views.view.frontpage.yml
View file @
015d61bc
...
...
@@ -38,11 +38,13 @@ display:
table
:
node
field
:
sticky
order
:
DESC
plugin_id
:
standard
created
:
id
:
created
table
:
node
field
:
created
order
:
DESC
plugin_id
:
date
filters
:
promote
:
id
:
promote
...
...
@@ -52,6 +54,7 @@ display:
group
:
0
expose
:
operator
:
false
plugin_id
:
boolean
status
:
id
:
status
table
:
node
...
...
@@ -60,6 +63,7 @@ display:
group
:
0
expose
:
operator
:
false
plugin_id
:
boolean
page_1
:
id
:
page_1
display_title
:
Page
...
...
core/modules/views/config/views.view.glossary.yml
View file @
015d61bc
...
...
@@ -35,6 +35,7 @@ display:
table
:
node
field
:
title
link_to_node
:
1
plugin_id
:
node
name
:
id
:
name
table
:
users
...
...
@@ -42,12 +43,14 @@ display:
label
:
Author
link_to_user
:
1
relationship
:
uid
plugin_id
:
user_name
changed
:
id
:
changed
table
:
node
field
:
changed
label
:
'
Last
update'
date_format
:
long
plugin_id
:
date
arguments
:
title
:
id
:
title
...
...
@@ -67,11 +70,13 @@ display:
case
:
upper
path_case
:
lower
transform_dash
:
0
plugin_id
:
string
relationships
:
uid
:
id
:
uid
table
:
node
field
:
uid
plugin_id
:
standard
style
:
type
:
table
options
:
...
...
@@ -144,6 +149,7 @@ display:
case
:
upper
path_case
:
lower
transform_dash
:
0
plugin_id
:
string
displays
:
default
:
default
page
:
page_1
...
...
core/modules/views/config/views.view.taxonomy_term.yml
View file @
015d61bc
...
...
@@ -32,11 +32,13 @@ display:
table
:
node
field
:
sticky
order
:
DESC
plugin_id
:
standard
created
:
id
:
created
table
:
node
field
:
created
order
:
DESC
plugin_id
:
date
arguments
:
term_node_tid_depth
:
id
:
term_node_tid_depth
...
...
@@ -55,6 +57,7 @@ display:
type
:
taxonomy_term
depth
:
'
0'
break_phrase
:
1
plugin_id
:
taxonomy_index_tid_depth
term_node_tid_depth_modifier
:
id
:
term_node_tid_depth_modifier
table
:
node
...
...
@@ -65,6 +68,7 @@ display:
summary
:
format
:
default_summary
specify_validation
:
1
plugin_id
:
taxonomy_index_tid_depth_modifier
filters
:
status_extra
:
id
:
status_extra
...
...
@@ -73,6 +77,7 @@ display:
group
:
0
expose
:
operator
:
false
plugin_id
:
node_status
style
:
type
:
default
row
:
...
...
Prev
1
2
3
Next
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