Issue #2349553 by dawehner, pfrenssen, damiankloip: Store entity field information in the views data
parent
a942dd5840
commit
7cd91c92c0
|
|
@ -79,6 +79,8 @@ display:
|
|||
empty_zero: false
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
node_bulk_form:
|
||||
id: node_bulk_form
|
||||
table: node
|
||||
|
|
@ -128,6 +130,7 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: node_bulk_form
|
||||
entity_type: node
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -138,6 +141,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -145,6 +150,8 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: form
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -126,6 +126,8 @@ display:
|
|||
format_plural_plural: '@count'
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
entity_type: aggregator_item
|
||||
entity_field: iid
|
||||
filters: { }
|
||||
sorts: { }
|
||||
title: 'Aggregator RSS feed'
|
||||
|
|
|
|||
|
|
@ -131,6 +131,8 @@ display:
|
|||
format_plural_plural: '@count'
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
entity_type: aggregator_feed
|
||||
entity_field: fid
|
||||
filters: { }
|
||||
sorts: { }
|
||||
title: Sources
|
||||
|
|
@ -205,6 +207,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
display_as_link: false
|
||||
plugin_id: aggregator_title_link
|
||||
entity_type: aggregator_feed
|
||||
entity_field: title
|
||||
url:
|
||||
id: url
|
||||
table: aggregator_feed
|
||||
|
|
@ -255,6 +259,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
display_as_link: false
|
||||
plugin_id: url
|
||||
entity_type: aggregator_feed
|
||||
entity_field: url
|
||||
description:
|
||||
id: description
|
||||
table: aggregator_feed
|
||||
|
|
@ -304,6 +310,8 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: xss
|
||||
entity_type: aggregator_feed
|
||||
entity_field: description
|
||||
link:
|
||||
id: link
|
||||
table: aggregator_feed
|
||||
|
|
@ -354,6 +362,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
display_as_link: false
|
||||
plugin_id: url
|
||||
entity_type: aggregator_feed
|
||||
entity_field: link
|
||||
defaults:
|
||||
fields: false
|
||||
title: false
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ display:
|
|||
field: iid
|
||||
id: iid
|
||||
plugin_id: numeric
|
||||
entity_type: aggregator_item
|
||||
entity_field: iid
|
||||
title:
|
||||
table: aggregator_item
|
||||
field: title
|
||||
|
|
@ -70,11 +72,15 @@ display:
|
|||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
entity_type: aggregator_item
|
||||
entity_field: title
|
||||
timestamp:
|
||||
table: aggregator_item
|
||||
field: timestamp
|
||||
id: timestamp
|
||||
plugin_id: date
|
||||
entity_type: aggregator_item
|
||||
entity_field: timestamp
|
||||
author:
|
||||
table: aggregator_item
|
||||
field: author
|
||||
|
|
@ -107,6 +113,8 @@ display:
|
|||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
entity_type: aggregator_item
|
||||
entity_field: author
|
||||
description:
|
||||
id: description
|
||||
table: aggregator_item
|
||||
|
|
@ -156,6 +164,8 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: aggregator_xss
|
||||
entity_type: aggregator_item
|
||||
entity_field: description
|
||||
filters: { }
|
||||
sorts: { }
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
|
|
|
|||
|
|
@ -111,6 +111,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_comment: true
|
||||
link_to_entity: false
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
changed:
|
||||
id: changed
|
||||
table: comment_field_data
|
||||
|
|
@ -163,6 +165,8 @@ display:
|
|||
date_format: 'time ago'
|
||||
custom_date_format: ''
|
||||
timezone: ''
|
||||
entity_type: comment
|
||||
entity_field: changed
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -173,6 +177,8 @@ display:
|
|||
expose:
|
||||
operator: ''
|
||||
group: 1
|
||||
entity_type: comment
|
||||
entity_field: status
|
||||
status_node:
|
||||
value: true
|
||||
table: node_field_data
|
||||
|
|
@ -183,6 +189,8 @@ display:
|
|||
expose:
|
||||
operator: ''
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -196,6 +204,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
plugin_id: date
|
||||
entity_type: comment
|
||||
entity_field: created
|
||||
cid:
|
||||
id: cid
|
||||
table: comment
|
||||
|
|
@ -208,6 +218,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
plugin_id: standard
|
||||
entity_type: comment
|
||||
entity_field: cid
|
||||
title: 'Recent comments'
|
||||
empty:
|
||||
area_text_custom:
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ class Comment extends WizardPluginBase {
|
|||
'table' => 'comment_field_data',
|
||||
'field' => 'status',
|
||||
'plugin_id' => 'boolean',
|
||||
'entity_type' => 'comment',
|
||||
'entity_field' => 'status',
|
||||
),
|
||||
'status_node' => array(
|
||||
'value' => TRUE,
|
||||
|
|
@ -46,6 +48,8 @@ class Comment extends WizardPluginBase {
|
|||
'field' => 'status',
|
||||
'plugin_id' => 'boolean',
|
||||
'relationship' => 'node',
|
||||
'entity_type' => 'node',
|
||||
'entity_field' => 'status',
|
||||
),
|
||||
);
|
||||
|
||||
|
|
@ -72,6 +76,7 @@ class Comment extends WizardPluginBase {
|
|||
$display_options['relationships']['node']['id'] = 'node';
|
||||
$display_options['relationships']['node']['table'] = 'comment_field_data';
|
||||
$display_options['relationships']['node']['field'] = 'node';
|
||||
$display_options['relationships']['node']['entity_type'] = 'comment_field_data';
|
||||
$display_options['relationships']['node']['required'] = 1;
|
||||
$display_options['relationships']['node']['plugin_id'] = 'standard';
|
||||
|
||||
|
|
@ -82,6 +87,8 @@ class Comment extends WizardPluginBase {
|
|||
$display_options['fields']['subject']['id'] = 'subject';
|
||||
$display_options['fields']['subject']['table'] = 'comment_field_data';
|
||||
$display_options['fields']['subject']['field'] = 'subject';
|
||||
$display_options['fields']['subject']['entity_type'] = 'comment';
|
||||
$display_options['fields']['subject']['entity_field'] = 'subject';
|
||||
$display_options['fields']['subject']['label'] = '';
|
||||
$display_options['fields']['subject']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['subject']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -115,6 +115,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_entity: false
|
||||
plugin_id: comment
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -125,6 +127,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: comment
|
||||
entity_field: status
|
||||
status_node:
|
||||
value: true
|
||||
table: node_field_data
|
||||
|
|
@ -135,6 +139,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts: { }
|
||||
title: test_comment_row
|
||||
header: { }
|
||||
|
|
|
|||
|
|
@ -59,6 +59,8 @@ display:
|
|||
hide_empty: false
|
||||
empty_zero: false
|
||||
link_to_comment: true
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
filters: { }
|
||||
sorts: { }
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ display:
|
|||
items_per_page: 25
|
||||
table: node_field_data
|
||||
plugin_id: argument_comment_user_uid
|
||||
entity_type: node
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
@ -42,6 +43,8 @@ display:
|
|||
id: nid
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -101,6 +101,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_entity: false
|
||||
plugin_id: comment
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
filters:
|
||||
subject:
|
||||
id: subject
|
||||
|
|
@ -138,6 +140,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
sorts: { }
|
||||
title: 'Title filter page'
|
||||
header: { }
|
||||
|
|
@ -193,6 +197,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: comment
|
||||
entity_field: comment_body
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -249,6 +255,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: comment
|
||||
entity_field: comment_body
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -315,6 +323,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: comment
|
||||
entity_field: subject
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
|
|||
|
|
@ -102,12 +102,15 @@ display:
|
|||
anonymous_text: ''
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
contact:
|
||||
id: contact
|
||||
table: users
|
||||
field: contact
|
||||
plugin_id: contact_link
|
||||
exclude: false
|
||||
entity_type: user
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -118,6 +121,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
sorts: { }
|
||||
title: test_contact_link
|
||||
header: { }
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ display:
|
|||
link_to_user: true
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
translation_link:
|
||||
id: translation_link
|
||||
table: users
|
||||
|
|
@ -69,6 +71,7 @@ display:
|
|||
hide_alter_empty: true
|
||||
text: Translate
|
||||
plugin_id: content_translation_link
|
||||
entity_type: user
|
||||
filters:
|
||||
uid_raw:
|
||||
id: uid_raw
|
||||
|
|
@ -80,6 +83,7 @@ display:
|
|||
group: 1
|
||||
exposed: false
|
||||
plugin_id: numeric
|
||||
entity_type: user
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -87,6 +91,8 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
title: People
|
||||
empty:
|
||||
area:
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -96,6 +98,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -103,6 +107,8 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
entity_reference_1:
|
||||
|
|
|
|||
|
|
@ -24,12 +24,16 @@ display:
|
|||
relationship: none
|
||||
table: entity_test
|
||||
plugin_id: numeric
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
id_1:
|
||||
field: id
|
||||
id: id_1
|
||||
relationship: test_relationship
|
||||
table: entity_test
|
||||
plugin_id: numeric
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
pager:
|
||||
options:
|
||||
offset: 0
|
||||
|
|
@ -42,6 +46,8 @@ display:
|
|||
relationship: none
|
||||
table: entity_test
|
||||
plugin_id: standard
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
relationships:
|
||||
test_relationship:
|
||||
id: field_test
|
||||
|
|
|
|||
|
|
@ -23,21 +23,29 @@ display:
|
|||
id: nid
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
field_name_0:
|
||||
id: field_name_0
|
||||
table: node__field_name_0
|
||||
field: field_name_0
|
||||
plugin_id: field
|
||||
entity_type: node
|
||||
entity_field: field_name_0
|
||||
field_name_5:
|
||||
id: field_name_5
|
||||
table: node__field_name_5
|
||||
field: field_name_5
|
||||
plugin_id: field
|
||||
entity_type: node
|
||||
entity_field: field_name_5
|
||||
field_no_view_access:
|
||||
id: field_no_view_access
|
||||
table: node__field_no_view_access
|
||||
field: field_no_view_access
|
||||
plugin_id: field
|
||||
entity_type: node
|
||||
entity_field: field_no_view_access
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
|
|||
|
|
@ -176,6 +176,8 @@ display:
|
|||
empty: ''
|
||||
hide_alter_empty: true
|
||||
plugin_id: file
|
||||
entity_type: file
|
||||
entity_field: fid
|
||||
filename:
|
||||
id: filename
|
||||
table: file_managed
|
||||
|
|
@ -208,6 +210,8 @@ display:
|
|||
empty: ''
|
||||
hide_alter_empty: true
|
||||
plugin_id: file
|
||||
entity_type: file
|
||||
entity_field: filename
|
||||
filemime:
|
||||
id: filemime
|
||||
table: file_managed
|
||||
|
|
@ -259,6 +263,8 @@ display:
|
|||
link_to_file: false
|
||||
filemime_image: false
|
||||
plugin_id: file_filemime
|
||||
entity_type: file
|
||||
entity_field: filemime
|
||||
filesize:
|
||||
id: filesize
|
||||
table: file_managed
|
||||
|
|
@ -309,6 +315,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
file_size_display: formatted
|
||||
plugin_id: file_size
|
||||
entity_type: file
|
||||
entity_field: filesize
|
||||
status:
|
||||
id: status
|
||||
table: file_managed
|
||||
|
|
@ -358,6 +366,8 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: file_status
|
||||
entity_type: file
|
||||
entity_field: status
|
||||
created:
|
||||
id: created
|
||||
table: file_managed
|
||||
|
|
@ -410,6 +420,8 @@ display:
|
|||
custom_date_format: ''
|
||||
timezone: ''
|
||||
plugin_id: date
|
||||
entity_type: file
|
||||
entity_field: created
|
||||
changed:
|
||||
id: changed
|
||||
table: file_managed
|
||||
|
|
@ -462,6 +474,8 @@ display:
|
|||
custom_date_format: ''
|
||||
timezone: ''
|
||||
plugin_id: date
|
||||
entity_type: file
|
||||
entity_field: changed
|
||||
count:
|
||||
id: count
|
||||
table: file_usage
|
||||
|
|
@ -559,6 +573,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: file
|
||||
entity_field: filename
|
||||
filemime:
|
||||
id: filemime
|
||||
table: file_managed
|
||||
|
|
@ -597,6 +613,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: file
|
||||
entity_field: filemime
|
||||
status:
|
||||
id: status
|
||||
table: file_managed
|
||||
|
|
@ -636,6 +654,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: file_status
|
||||
entity_type: file
|
||||
entity_field: status
|
||||
sorts: { }
|
||||
title: Files
|
||||
header: { }
|
||||
|
|
@ -979,6 +999,8 @@ display:
|
|||
break_phrase: false
|
||||
not: false
|
||||
plugin_id: file_fid
|
||||
entity_type: file
|
||||
entity_field: fid
|
||||
style:
|
||||
type: table
|
||||
options:
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ class File extends WizardPluginBase {
|
|||
$display_options['fields']['filename']['id'] = 'filename';
|
||||
$display_options['fields']['filename']['table'] = 'file_managed';
|
||||
$display_options['fields']['filename']['field'] = 'filename';
|
||||
$display_options['fields']['filename']['entity_type'] = 'file';
|
||||
$display_options['fields']['filename']['entity_field'] = 'filename';
|
||||
$display_options['fields']['filename']['label'] = '';
|
||||
$display_options['fields']['filename']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['filename']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -75,6 +75,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
granularity: second
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
arguments:
|
||||
created_year_month:
|
||||
id: created_year_month
|
||||
|
|
@ -94,6 +96,7 @@ display:
|
|||
items_per_page: 30
|
||||
specify_validation: true
|
||||
plugin_id: date_year_month
|
||||
entity_type: node
|
||||
filters:
|
||||
status:
|
||||
id: status
|
||||
|
|
@ -104,6 +107,8 @@ display:
|
|||
expose:
|
||||
operator: '0'
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -142,6 +147,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
style:
|
||||
type: default
|
||||
options:
|
||||
|
|
@ -188,6 +195,7 @@ display:
|
|||
items_per_page: 30
|
||||
specify_validation: true
|
||||
plugin_id: date_year_month
|
||||
entity_type: node
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -148,6 +148,7 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: node_bulk_form
|
||||
entity_type: node
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
|
|
@ -164,6 +165,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
type:
|
||||
id: type
|
||||
table: node_field_data
|
||||
|
|
@ -181,6 +184,8 @@ display:
|
|||
link_to_node: false
|
||||
machine_name: ''
|
||||
plugin_id: node_type
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
|
|
@ -201,6 +206,8 @@ display:
|
|||
anonymous_text: ''
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
status:
|
||||
id: status
|
||||
table: node_field_data
|
||||
|
|
@ -220,6 +227,8 @@ display:
|
|||
type_custom_false: ''
|
||||
not: ''
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
changed:
|
||||
id: changed
|
||||
table: node_field_data
|
||||
|
|
@ -238,6 +247,8 @@ display:
|
|||
custom_date_format: ''
|
||||
timezone: ''
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: changed
|
||||
edit_node:
|
||||
id: edit_node
|
||||
table: node
|
||||
|
|
@ -246,6 +257,7 @@ display:
|
|||
exclude: true
|
||||
text: Edit
|
||||
plugin_id: node_link_edit
|
||||
entity_type: node
|
||||
delete_node:
|
||||
id: delete_node
|
||||
table: node
|
||||
|
|
@ -254,6 +266,7 @@ display:
|
|||
exclude: true
|
||||
text: Delete
|
||||
plugin_id: node_link_delete
|
||||
entity_type: node
|
||||
dropbutton:
|
||||
id: dropbutton
|
||||
table: views
|
||||
|
|
@ -273,6 +286,7 @@ display:
|
|||
value: false
|
||||
plugin_id: node_status
|
||||
group: 1
|
||||
entity_type: node
|
||||
status:
|
||||
id: status
|
||||
table: node_field_data
|
||||
|
|
@ -317,6 +331,8 @@ display:
|
|||
operator: '='
|
||||
value: '0'
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
type:
|
||||
id: type
|
||||
table: node_field_data
|
||||
|
|
@ -356,6 +372,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: bundle
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
|
|
@ -394,6 +412,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -433,6 +453,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
sorts: { }
|
||||
title: Content
|
||||
empty:
|
||||
|
|
|
|||
|
|
@ -157,6 +157,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
|
|
@ -210,6 +212,8 @@ display:
|
|||
anonymous_text: ''
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
edit_node:
|
||||
id: edit_node
|
||||
table: node
|
||||
|
|
@ -260,6 +264,7 @@ display:
|
|||
hide_alter_empty: true
|
||||
text: edit
|
||||
plugin_id: node_link_edit
|
||||
entity_type: node
|
||||
delete_node:
|
||||
id: delete_node
|
||||
table: node
|
||||
|
|
@ -310,6 +315,7 @@ display:
|
|||
hide_alter_empty: true
|
||||
text: delete
|
||||
plugin_id: node_link_delete
|
||||
entity_type: node
|
||||
filters:
|
||||
status_extra:
|
||||
id: status_extra
|
||||
|
|
@ -347,6 +353,7 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: node_status
|
||||
entity_type: node
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -385,6 +392,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
sorts:
|
||||
changed:
|
||||
id: changed
|
||||
|
|
@ -399,6 +408,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: changed
|
||||
title: 'Recent content'
|
||||
header: { }
|
||||
footer: { }
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ display:
|
|||
relationship: none
|
||||
table: node
|
||||
plugin_id: node_listing_empty
|
||||
entity_type: node
|
||||
title:
|
||||
id: title
|
||||
table: views
|
||||
|
|
@ -103,6 +104,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: promote
|
||||
status:
|
||||
expose:
|
||||
operator: ''
|
||||
|
|
@ -112,6 +115,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -150,6 +155,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
pager:
|
||||
type: full
|
||||
options:
|
||||
|
|
@ -196,6 +203,8 @@ display:
|
|||
relationship: none
|
||||
table: node_field_data
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: sticky
|
||||
created:
|
||||
field: created
|
||||
id: created
|
||||
|
|
@ -209,6 +218,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
granularity: second
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
style:
|
||||
type: default
|
||||
options:
|
||||
|
|
|
|||
|
|
@ -113,6 +113,8 @@ display:
|
|||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
|
|
@ -166,6 +168,8 @@ display:
|
|||
overwrite_anonymous: false
|
||||
anonymous_text: ''
|
||||
format_username: true
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
changed:
|
||||
id: changed
|
||||
table: node_field_data
|
||||
|
|
@ -218,6 +222,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
custom_date_format: ''
|
||||
timezone: ''
|
||||
entity_type: node
|
||||
entity_field: changed
|
||||
arguments:
|
||||
title:
|
||||
id: title
|
||||
|
|
@ -250,6 +256,8 @@ display:
|
|||
fail: 'not found'
|
||||
validate_options: { }
|
||||
break_phrase: false
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
relationships:
|
||||
uid:
|
||||
id: uid
|
||||
|
|
@ -339,6 +347,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
attachment_1:
|
||||
id: attachment_1
|
||||
display_title: Attachment
|
||||
|
|
@ -390,6 +400,8 @@ display:
|
|||
fail: 'not found'
|
||||
validate_options: { }
|
||||
break_phrase: false
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
displays:
|
||||
default: default
|
||||
page_1: page_1
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ class Node extends WizardPluginBase {
|
|||
'value' => TRUE,
|
||||
'table' => 'node_field_data',
|
||||
'field' => 'status',
|
||||
'plugin_id' => 'boolean'
|
||||
'plugin_id' => 'boolean',
|
||||
'entity_type' => 'node',
|
||||
'entity_field' => 'status',
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -85,6 +87,8 @@ class Node extends WizardPluginBase {
|
|||
$display_options['fields']['title']['id'] = 'title';
|
||||
$display_options['fields']['title']['table'] = 'node_field_data';
|
||||
$display_options['fields']['title']['field'] = 'title';
|
||||
$display_options['fields']['title']['entity_type'] = 'node';
|
||||
$display_options['fields']['title']['entity_field'] = 'title';
|
||||
$display_options['fields']['title']['label'] = '';
|
||||
$display_options['fields']['title']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['title']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,9 @@ class NodeRevision extends WizardPluginBase {
|
|||
'value' => TRUE,
|
||||
'table' => 'node_field_revision',
|
||||
'field' => 'status',
|
||||
'plugin_id' => 'boolean'
|
||||
'plugin_id' => 'boolean',
|
||||
'entity_type' => 'node',
|
||||
'entity_field' => 'status',
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -70,6 +72,8 @@ class NodeRevision extends WizardPluginBase {
|
|||
$display_options['fields']['changed']['id'] = 'changed';
|
||||
$display_options['fields']['changed']['table'] = 'node_field_revision';
|
||||
$display_options['fields']['changed']['field'] = 'changed';
|
||||
$display_options['fields']['changed']['entity_type'] = 'node';
|
||||
$display_options['fields']['changed']['entity_field'] = 'changed';
|
||||
$display_options['fields']['changed']['alter']['alter_text'] = FALSE;
|
||||
$display_options['fields']['changed']['alter']['make_link'] = FALSE;
|
||||
$display_options['fields']['changed']['alter']['absolute'] = FALSE;
|
||||
|
|
@ -86,6 +90,8 @@ class NodeRevision extends WizardPluginBase {
|
|||
$display_options['fields']['title']['id'] = 'title';
|
||||
$display_options['fields']['title']['table'] = 'node_field_revision';
|
||||
$display_options['fields']['title']['field'] = 'title';
|
||||
$display_options['fields']['title']['entity_type'] = 'node';
|
||||
$display_options['fields']['title']['entity_field'] = 'title';
|
||||
$display_options['fields']['title']['label'] = '';
|
||||
$display_options['fields']['title']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['title']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ display:
|
|||
relationship: none
|
||||
table: node
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
menu:
|
||||
type: tab
|
||||
title: 'Test contextual link'
|
||||
|
|
|
|||
|
|
@ -88,6 +88,8 @@ display:
|
|||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_alter_empty: true
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
plugin_id: node
|
||||
filters:
|
||||
status:
|
||||
|
|
@ -99,6 +101,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
|
|
@ -135,6 +139,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -149,6 +155,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: 'Test field filters'
|
||||
header: { }
|
||||
footer: { }
|
||||
|
|
@ -182,6 +190,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
body_value:
|
||||
id: body_value
|
||||
table: node__body
|
||||
|
|
@ -218,6 +228,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: body
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
|
|
@ -246,6 +258,8 @@ display:
|
|||
expose:
|
||||
operator: ''
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
body_value:
|
||||
id: body_value
|
||||
|
|
@ -283,6 +297,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: body
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
|
|
@ -311,6 +327,8 @@ display:
|
|||
expose:
|
||||
operator: ''
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
title:
|
||||
id: title
|
||||
|
|
@ -348,6 +366,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ display:
|
|||
id: type
|
||||
table: node_field_data
|
||||
plugin_id: node_type
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ display:
|
|||
table: node
|
||||
field: nid
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
filter_groups:
|
||||
groups:
|
||||
1: AND
|
||||
|
|
@ -43,6 +45,8 @@ display:
|
|||
value:
|
||||
- '1'
|
||||
plugin_id: node_uid_revision
|
||||
entity_type: node
|
||||
entity_field: uid_revision
|
||||
sorts:
|
||||
nid:
|
||||
id: nid
|
||||
|
|
@ -51,6 +55,8 @@ display:
|
|||
order: ASC
|
||||
plugin_id: standard
|
||||
relationship: none
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -109,6 +109,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: false
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -160,6 +162,8 @@ display:
|
|||
link_to_node: false
|
||||
native_language: false
|
||||
plugin_id: node_language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -170,6 +174,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
type:
|
||||
id: type
|
||||
table: node_field_data
|
||||
|
|
@ -177,6 +183,8 @@ display:
|
|||
value:
|
||||
page: page
|
||||
plugin_id: bundle
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
|
|
@ -216,6 +224,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
sorts:
|
||||
langcode:
|
||||
id: langcode
|
||||
|
|
@ -229,6 +239,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
title: 'Language filter test'
|
||||
header: { }
|
||||
footer: { }
|
||||
|
|
@ -268,6 +280,8 @@ display:
|
|||
fail: 'not found'
|
||||
validate_options: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -28,11 +28,14 @@ display:
|
|||
table: node
|
||||
field: node_bulk_form
|
||||
plugin_id: node_bulk_form
|
||||
entity_type: node
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
field: title
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
sorts:
|
||||
nid:
|
||||
id: nid
|
||||
|
|
@ -40,6 +43,8 @@ display:
|
|||
field: nid
|
||||
order: ASC
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -27,23 +27,31 @@ display:
|
|||
table: node_revision
|
||||
field: vid
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: vid
|
||||
nid_1:
|
||||
id: nid_1
|
||||
table: node_revision
|
||||
field: nid
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
nid:
|
||||
id: nid
|
||||
table: node
|
||||
field: nid
|
||||
relationship: nid
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
arguments:
|
||||
nid:
|
||||
id: nid
|
||||
table: node_revision
|
||||
field: nid
|
||||
plugin_id: node_nid
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -27,23 +27,31 @@ display:
|
|||
table: node_revision
|
||||
field: vid
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: vid
|
||||
nid_1:
|
||||
id: nid_1
|
||||
table: node_revision
|
||||
field: nid
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
nid:
|
||||
id: nid
|
||||
table: node
|
||||
field: nid
|
||||
relationship: vid
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
arguments:
|
||||
nid:
|
||||
id: nid
|
||||
table: node_revision
|
||||
field: nid
|
||||
plugin_id: node_nid
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
table: node
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
|
|||
|
|
@ -120,6 +120,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: false
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -130,6 +132,8 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -144,6 +148,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: test_node_view
|
||||
header: { }
|
||||
footer: { }
|
||||
|
|
@ -189,6 +195,8 @@ display:
|
|||
transform_dash: false
|
||||
break_phrase: false
|
||||
plugin_id: node_type
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: false
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status_extra:
|
||||
id: status_extra
|
||||
|
|
@ -121,6 +123,7 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: node_status
|
||||
entity_type: node
|
||||
sorts:
|
||||
nid:
|
||||
id: nid
|
||||
|
|
@ -128,6 +131,8 @@ display:
|
|||
field: nid
|
||||
order: ASC
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ display:
|
|||
field: id
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
title: 'Test serialize'
|
||||
arguments: { }
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ display:
|
|||
table: node
|
||||
field: nid
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
body:
|
||||
id: body
|
||||
table: node__body
|
||||
|
|
@ -106,6 +108,8 @@ display:
|
|||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
entity_type: node
|
||||
entity_field: body
|
||||
title: 'Test serialize'
|
||||
arguments: { }
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ display:
|
|||
empty_zero: false
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
timestamp:
|
||||
id: timestamp
|
||||
table: node_counter
|
||||
|
|
@ -232,12 +234,16 @@ display:
|
|||
operator: ''
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
table: node_field_data
|
||||
field: created
|
||||
order: DESC
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -168,6 +168,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: language
|
||||
entity_type: node
|
||||
entity_field: langcode
|
||||
status:
|
||||
id: status
|
||||
table: taxonomy_index
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ class TaxonomyTerm extends WizardPluginBase {
|
|||
$display_options['fields']['name']['id'] = 'name';
|
||||
$display_options['fields']['name']['table'] = 'taxonomy_term_field_data';
|
||||
$display_options['fields']['name']['field'] = 'name';
|
||||
$display_options['fields']['name']['entity_type'] = 'taxonomy_term';
|
||||
$display_options['fields']['name']['entity_field'] = 'name';
|
||||
$display_options['fields']['name']['label'] = '';
|
||||
$display_options['fields']['name']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['name']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -112,6 +112,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
convert_spaces: false
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
filters: { }
|
||||
sorts: { }
|
||||
header: { }
|
||||
|
|
@ -158,5 +160,7 @@ display:
|
|||
break_phrase: false
|
||||
not: false
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
field_langcode: '***LANGUAGE_site_default***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -87,6 +87,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
convert_spaces: false
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
filters:
|
||||
name:
|
||||
id: name
|
||||
|
|
@ -124,6 +126,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
sorts: { }
|
||||
title: 'Name filter page'
|
||||
header: { }
|
||||
|
|
@ -180,6 +184,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: description
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -236,6 +242,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: description
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -292,6 +300,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: field_foo
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -348,6 +358,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: field_foo
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
@ -414,6 +426,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: string
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
defaults:
|
||||
filters: false
|
||||
filter_groups: false
|
||||
|
|
|
|||
|
|
@ -113,6 +113,8 @@ display:
|
|||
empty: ''
|
||||
hide_alter_empty: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -123,6 +125,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
tid:
|
||||
id: tid
|
||||
table: taxonomy_index
|
||||
|
|
|
|||
|
|
@ -28,12 +28,16 @@ display:
|
|||
id: name
|
||||
table: taxonomy_term_field_data
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
relationship: tid_representative
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -64,6 +68,8 @@ display:
|
|||
order: DESC
|
||||
table: taxonomy_term_data
|
||||
plugin_id: standard
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
style:
|
||||
type: default
|
||||
title: test_groupwise
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
items_per_page: 25
|
||||
table: taxonomy_term_data
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
tid_1:
|
||||
default_argument_type: fixed
|
||||
field: tid
|
||||
|
|
@ -43,6 +45,8 @@ display:
|
|||
items_per_page: 25
|
||||
table: taxonomy_term_data
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
@ -75,6 +79,8 @@ display:
|
|||
order: DESC
|
||||
table: node
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
style:
|
||||
type: default
|
||||
row:
|
||||
|
|
|
|||
|
|
@ -113,6 +113,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
convert_spaces: false
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
filters: { }
|
||||
sorts: { }
|
||||
header: { }
|
||||
|
|
|
|||
|
|
@ -131,6 +131,8 @@ display:
|
|||
link_to_taxonomy: true
|
||||
convert_spaces: false
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
filters: { }
|
||||
sorts:
|
||||
tid:
|
||||
|
|
@ -145,6 +147,8 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
plugin_id: standard
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
header: { }
|
||||
footer: { }
|
||||
empty: { }
|
||||
|
|
|
|||
|
|
@ -104,6 +104,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
uid_touch_tracker:
|
||||
id: uid_touch_tracker
|
||||
|
|
@ -143,6 +145,7 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: tracker_user_uid
|
||||
entity_type: node
|
||||
arguments:
|
||||
uid_touch_tracker:
|
||||
id: uid_touch_tracker
|
||||
|
|
@ -177,5 +180,6 @@ display:
|
|||
fail: 'not found'
|
||||
validate_options: { }
|
||||
plugin_id: tracker_user_uid
|
||||
entity_type: node
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: user_bulk_form
|
||||
entity_type: user
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
|
|
@ -241,6 +242,8 @@ display:
|
|||
anonymous_text: ''
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
status:
|
||||
id: status
|
||||
table: users_field_data
|
||||
|
|
@ -294,6 +297,8 @@ display:
|
|||
type_custom_false: ''
|
||||
not: '0'
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
roles_target_id:
|
||||
id: roles_target_id
|
||||
table: user__roles
|
||||
|
|
@ -397,6 +402,8 @@ display:
|
|||
custom_date_format: ''
|
||||
timezone: ''
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
access:
|
||||
id: access
|
||||
table: users_field_data
|
||||
|
|
@ -449,6 +456,8 @@ display:
|
|||
custom_date_format: ''
|
||||
timezone: ''
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: access
|
||||
edit_node:
|
||||
id: edit_node
|
||||
table: users
|
||||
|
|
@ -499,6 +508,7 @@ display:
|
|||
hide_alter_empty: true
|
||||
text: Edit
|
||||
plugin_id: user_link_edit
|
||||
entity_type: user
|
||||
dropbutton:
|
||||
id: dropbutton
|
||||
table: views
|
||||
|
|
@ -607,6 +617,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_user: false
|
||||
plugin_id: user_mail
|
||||
entity_type: user
|
||||
entity_field: mail
|
||||
filters:
|
||||
combine:
|
||||
id: combine
|
||||
|
|
@ -775,6 +787,8 @@ display:
|
|||
operator: '='
|
||||
value: '0'
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
uid_raw:
|
||||
id: uid_raw
|
||||
table: users
|
||||
|
|
@ -814,6 +828,7 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: numeric
|
||||
entity_type: user
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -828,6 +843,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
title: People
|
||||
empty:
|
||||
area_text_custom:
|
||||
|
|
|
|||
|
|
@ -88,6 +88,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
anonymous_text: ''
|
||||
format_username: true
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -98,6 +100,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
access:
|
||||
id: access
|
||||
table: users_field_data
|
||||
|
|
@ -138,6 +142,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: access
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -152,6 +158,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
title: 'Who''s new'
|
||||
header: { }
|
||||
footer: { }
|
||||
|
|
|
|||
|
|
@ -95,6 +95,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
anonymous_text: ''
|
||||
format_username: true
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -105,6 +107,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
access:
|
||||
id: access
|
||||
table: users_field_data
|
||||
|
|
@ -147,6 +151,8 @@ display:
|
|||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: access
|
||||
sorts:
|
||||
access:
|
||||
id: access
|
||||
|
|
@ -161,6 +167,8 @@ display:
|
|||
label: ''
|
||||
granularity: second
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: access
|
||||
title: 'Who''s online'
|
||||
header:
|
||||
result:
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ class Users extends WizardPluginBase {
|
|||
'table' => 'users_field_data',
|
||||
'field' => 'status',
|
||||
'plugin_id' => 'boolean',
|
||||
'entity_type' => 'user',
|
||||
'entity_field' => 'status',
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -58,6 +60,8 @@ class Users extends WizardPluginBase {
|
|||
$display_options['fields']['name']['id'] = 'name';
|
||||
$display_options['fields']['name']['table'] = 'users_field_data';
|
||||
$display_options['fields']['name']['field'] = 'name';
|
||||
$display_options['fields']['name']['entity_type'] = 'user';
|
||||
$display_options['fields']['name']['entity_field'] = 'name';
|
||||
$display_options['fields']['name']['label'] = '';
|
||||
$display_options['fields']['name']['alter']['alter_text'] = 0;
|
||||
$display_options['fields']['name']['alter']['make_link'] = 0;
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_user: false
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
permission:
|
||||
id: permission
|
||||
table: user__roles
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@ display:
|
|||
hide_alter_empty: true
|
||||
link_to_user: false
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
filters:
|
||||
permission:
|
||||
id: permission
|
||||
|
|
@ -136,5 +138,7 @@ display:
|
|||
expose:
|
||||
label: ''
|
||||
plugin_id: standard
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -29,12 +29,16 @@ display:
|
|||
id: name
|
||||
table: users_field_data
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
relationship: uid_representative
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
filters:
|
||||
status:
|
||||
expose:
|
||||
|
|
@ -45,6 +49,8 @@ display:
|
|||
table: users_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -75,6 +81,8 @@ display:
|
|||
order: DESC
|
||||
table: users_field_data
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
style:
|
||||
type: default
|
||||
title: test_groupwise_user
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ display:
|
|||
link_to_node: false
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
pager:
|
||||
options:
|
||||
id: 0
|
||||
|
|
|
|||
|
|
@ -28,11 +28,14 @@ display:
|
|||
table: users
|
||||
field: user_bulk_form
|
||||
plugin_id: user_bulk_form
|
||||
entity_type: user
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
field: name
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
sorts:
|
||||
uid:
|
||||
id: uid
|
||||
|
|
@ -40,6 +43,8 @@ display:
|
|||
field: uid
|
||||
order: ASC
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
filters:
|
||||
status:
|
||||
id: status
|
||||
|
|
@ -48,6 +53,8 @@ display:
|
|||
operator: '='
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
id: uid
|
||||
table: users
|
||||
field: uid
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
changed:
|
||||
id: changed
|
||||
table: users_field_data
|
||||
|
|
@ -38,6 +40,8 @@ display:
|
|||
label: 'Updated date'
|
||||
date_format: html_date
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: changed
|
||||
filters: { }
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ display:
|
|||
link_to_user: true
|
||||
overwrite_anonymous: false
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
data:
|
||||
id: data
|
||||
table: users
|
||||
|
|
@ -105,6 +107,7 @@ display:
|
|||
data_module: views_test_config
|
||||
data_name: test_value_name
|
||||
plugin_id: user_data
|
||||
entity_type: user
|
||||
filters:
|
||||
uid:
|
||||
value:
|
||||
|
|
@ -116,6 +119,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: numeric
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -123,5 +128,7 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: user
|
||||
entity_field: created
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
id: uid
|
||||
table: users
|
||||
field: uid
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
filters:
|
||||
uid:
|
||||
id: uid
|
||||
|
|
@ -45,6 +47,8 @@ display:
|
|||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ display:
|
|||
overwrite_anonymous: false
|
||||
table: users_field_data
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
title:
|
||||
alter:
|
||||
absolute: false
|
||||
|
|
@ -65,6 +67,8 @@ display:
|
|||
link_to_node: true
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
uid:
|
||||
alter:
|
||||
absolute: false
|
||||
|
|
@ -89,6 +93,8 @@ display:
|
|||
link_to_user: true
|
||||
table: users
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ display:
|
|||
table: users
|
||||
field: uid
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
arguments:
|
||||
uid:
|
||||
id: uid
|
||||
|
|
@ -28,6 +30,8 @@ display:
|
|||
title_enable: true
|
||||
title: '%1'
|
||||
plugin_id: user_uid
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ display:
|
|||
anonymous_text: ''
|
||||
format_username: true
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
roles_target_id:
|
||||
id: roles_target_id
|
||||
table: user__roles
|
||||
|
|
@ -151,6 +153,8 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: user
|
||||
entity_field: status
|
||||
sorts: { }
|
||||
title: test_user_role
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ display:
|
|||
overwrite_anonymous: false
|
||||
table: users_field_data
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -327,6 +327,15 @@ views_handler:
|
|||
admin_label:
|
||||
type: label
|
||||
label: 'A string to identify the handler instance in the admin UI.'
|
||||
entity_type:
|
||||
type: string
|
||||
label: 'The entity type'
|
||||
entity_field:
|
||||
type: string
|
||||
label: 'The corresponding entity field'
|
||||
plugin_id:
|
||||
type: string
|
||||
label: 'The plugin ID'
|
||||
|
||||
views_argument:
|
||||
type: views_handler
|
||||
|
|
@ -780,26 +789,8 @@ views_filter_group_item:
|
|||
label: 'Value'
|
||||
|
||||
views_relationship:
|
||||
type: mapping
|
||||
type: views_handler
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'ID'
|
||||
table:
|
||||
type: string
|
||||
label: 'Table'
|
||||
field:
|
||||
type: string
|
||||
label: 'UID'
|
||||
plugin_id:
|
||||
type: string
|
||||
label: 'Plugin ID'
|
||||
relationship:
|
||||
type: string
|
||||
label: 'Relationship'
|
||||
group_type:
|
||||
type: string
|
||||
label: 'Group type'
|
||||
admin_label:
|
||||
type: string
|
||||
label: 'Administrative title'
|
||||
|
|
|
|||
|
|
@ -127,7 +127,6 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
|
|||
$revision_field = $this->entityType->getKey('revision');
|
||||
|
||||
// Setup base information of the views data.
|
||||
$data[$base_table]['table']['entity type'] = $this->entityType->id();
|
||||
$data[$base_table]['table']['group'] = $this->entityType->getLabel();
|
||||
$data[$base_table]['table']['provider'] = $this->entityType->getProvider();
|
||||
$data[$base_table]['table']['base'] = [
|
||||
|
|
@ -156,12 +155,10 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
|
|||
'field' => $base_field,
|
||||
'type' => 'INNER'
|
||||
];
|
||||
$data[$data_table]['table']['entity type'] = $this->entityType->id();
|
||||
$data[$data_table]['table']['group'] = $this->entityType->getLabel();
|
||||
$data[$data_table]['table']['provider'] = $this->entityType->getProvider();
|
||||
}
|
||||
if ($revision_table) {
|
||||
$data[$revision_table]['table']['entity type'] = $this->entityType->id();
|
||||
$data[$revision_table]['table']['group'] = $this->t('@entity_type revision', ['@entity_type' => $this->entityType->getLabel()]);
|
||||
$data[$revision_table]['table']['provider'] = $this->entityType->getProvider();
|
||||
$data[$revision_table]['table']['base'] = array(
|
||||
|
|
@ -176,7 +173,6 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
|
|||
);
|
||||
|
||||
if ($revision_data_table) {
|
||||
$data[$revision_data_table]['table']['entity type'] = $this->entityType->id();
|
||||
$data[$revision_data_table]['table']['group'] = $this->t('@entity_type revision', ['@entity_type' => $this->entityType->getLabel()]);
|
||||
|
||||
$data[$revision_data_table]['table']['join'][$revision_table] = array(
|
||||
|
|
@ -204,6 +200,12 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
|
|||
}
|
||||
}
|
||||
|
||||
// Add the entity type key to each table generated.
|
||||
$entity_type_id = $this->entityType->id();
|
||||
array_walk($data, function(&$table_data) use ($entity_type_id){
|
||||
$table_data['table']['entity type'] = $entity_type_id;
|
||||
});
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
@ -238,6 +240,8 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
|
|||
foreach ($field_column_mapping as $field_column_name => $schema_field_name) {
|
||||
$views_field_name = ($multiple) ? $field_name . '__' . $field_column_name : $field_name;
|
||||
$table_data[$views_field_name] = $this->mapSingleFieldViewsData($table, $field_name, $field_definition_type, $field_column_name, $field_schema['columns'][$field_column_name]['type'], $first, $field_definition);
|
||||
|
||||
$table_data[$views_field_name]['entity field'] = $field_name;
|
||||
$first = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class ViewsHandlerManager extends DefaultPluginManager implements FallbackPlugin
|
|||
|
||||
if (isset($data[$field][$this->handlerType])) {
|
||||
$definition = $data[$field][$this->handlerType];
|
||||
foreach (array('group', 'title', 'title short', 'help', 'real field', 'real table') as $key) {
|
||||
foreach (array('group', 'title', 'title short', 'help', 'real field', 'real table', 'entity field') as $key) {
|
||||
if (!isset($definition[$key])) {
|
||||
// First check the field level.
|
||||
if (!empty($data[$field][$key])) {
|
||||
|
|
|
|||
|
|
@ -828,10 +828,14 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
|
|||
}
|
||||
}
|
||||
}
|
||||
// @todo refactor the code to use ViewExecutable::addHandler, see
|
||||
// https://drupal.org/node/2383157
|
||||
$display_options['fields'][$default_field] = array(
|
||||
'table' => $default_table,
|
||||
'field' => $default_field,
|
||||
'id' => $default_field,
|
||||
'entity_type' => isset($data[$default_field]['entity type']) ? $data[$default_field]['entity type'] : NULL,
|
||||
'entity_field' => isset($data[$default_field]['entity field']) ? $data[$default_field]['entity field'] : NULL,
|
||||
'plugin_id' => $data[$default_field]['field']['id'],
|
||||
);
|
||||
|
||||
|
|
@ -917,6 +921,8 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
|
|||
'table' => $table,
|
||||
'field' => $bundle_key,
|
||||
'value' => $value,
|
||||
'entity_type' => isset($table_data['table']['entity type']) ? $table_data['table']['entity type'] : NULL,
|
||||
'entity_field' => isset($table_data[$bundle_key]['entity field']) ? $table_data[$bundle_key]['entity field'] : NULL,
|
||||
'plugin_id' => $handler,
|
||||
);
|
||||
}
|
||||
|
|
@ -994,6 +1000,8 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
|
|||
'table' => $table,
|
||||
'field' => $column,
|
||||
'order' => $sort,
|
||||
'entity_type' => isset($data['table']['entity type']) ? $data['table']['entity type'] : NULL,
|
||||
'entity_field' => isset($data[$column]['entity field']) ? $data[$column]['entity field'] : NULL,
|
||||
'plugin_id' => $data[$column]['sort']['id'],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,11 +309,6 @@ class ViewExecutableTest extends ViewUnitTestBase {
|
|||
$view->setResponse($new_response);
|
||||
$this->assertIdentical(spl_object_hash($view->getResponse()), spl_object_hash($new_response), 'New response object correctly set.');
|
||||
|
||||
// Test the generateHandlerId() method.
|
||||
$test_ids = array('test' => 'test', 'test_1' => 'test_1');
|
||||
$this->assertEqual($view->generateHandlerId('new', $test_ids), 'new');
|
||||
$this->assertEqual($view->generateHandlerId('test', $test_ids), 'test_2');
|
||||
|
||||
// Test the getPath() method.
|
||||
$path = $this->randomMachineName();
|
||||
$view->displayHandlers->get('page_1')->overrideOption('path', $path);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\views\Tests\Wizard\NodeWizardTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\views\Tests\Wizard;
|
||||
|
||||
|
||||
/**
|
||||
* Tests node wizard and generic entity integration.
|
||||
*
|
||||
* @group Views
|
||||
* @group node
|
||||
*/
|
||||
class NodeWizardTest extends WizardTestBase {
|
||||
|
||||
/**
|
||||
* Tests creating a view with node titles.
|
||||
*/
|
||||
public function testViewAddWithNodeTitles() {
|
||||
$this->drupalCreateContentType(array('type' => 'article'));
|
||||
|
||||
$view = array();
|
||||
$view['label'] = $this->randomMachineName(16);
|
||||
$view['id'] = strtolower($this->randomMachineName(16));
|
||||
$view['description'] = $this->randomMachineName(16);
|
||||
$view['page[create]'] = FALSE;
|
||||
$view['show[wizard_key]'] = 'node';
|
||||
$view['page[style][row_plugin]'] = 'titles';
|
||||
$this->drupalPostForm('admin/structure/views/add', $view, t('Save and edit'));
|
||||
|
||||
$view_storage_controller = \Drupal::entityManager()->getStorage('view');
|
||||
/** @var \Drupal\views\Entity\View $view */
|
||||
$view = $view_storage_controller->load($view['id']);
|
||||
|
||||
$display_options = $view->getDisplay('default')['display_options'];
|
||||
// Ensure that the 'entity_table' and 'entity_field' properties are set
|
||||
// property.
|
||||
$this->assertEqual('node', $display_options['fields']['title']['entity_type']);
|
||||
$this->assertEqual('title', $display_options['fields']['title']['entity_field']);
|
||||
|
||||
$this->assertEqual('node', $display_options['filters']['status']['entity_type']);
|
||||
$this->assertEqual('status', $display_options['filters']['status']['entity_field']);
|
||||
|
||||
$this->assertEqual('node', $display_options['sorts']['created']['entity_type']);
|
||||
$this->assertEqual('created', $display_options['sorts']['created']['entity_field']);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -417,6 +417,13 @@ class ViewExecutable {
|
|||
*/
|
||||
protected $showAdminLinks;
|
||||
|
||||
/**
|
||||
* The views data.
|
||||
*
|
||||
* @var \Drupal\views\ViewsData
|
||||
*/
|
||||
protected $viewsData;
|
||||
|
||||
/**
|
||||
* Constructs a new ViewExecutable object.
|
||||
*
|
||||
|
|
@ -424,12 +431,15 @@ class ViewExecutable {
|
|||
* The view config entity the actual information is stored on.
|
||||
* @param \Drupal\Core\Session\AccountInterface $user
|
||||
* The current user.
|
||||
* @param \Drupal\views\ViewsData $views_data
|
||||
* The views data.
|
||||
*/
|
||||
public function __construct(ViewStorageInterface $storage, AccountInterface $user) {
|
||||
public function __construct(ViewStorageInterface $storage, AccountInterface $user, ViewsData $views_data) {
|
||||
// Reference the storage and the executable to each other.
|
||||
$this->storage = $storage;
|
||||
$this->storage->set('executable', $this);
|
||||
$this->user = $user;
|
||||
$this->viewsData = $views_data;
|
||||
|
||||
// Add the default css for a view.
|
||||
$this->element['#attached']['library'][] = 'views/views.module';
|
||||
|
|
@ -1526,9 +1536,7 @@ class ViewExecutable {
|
|||
$this->is_attachment = TRUE;
|
||||
// Find out which other displays attach to the current one.
|
||||
foreach ($this->display_handler->getAttachedDisplays() as $id) {
|
||||
// Create a clone for the attachments to manipulate. 'static' refers to the current class name.
|
||||
$cloned_view = new static($this->storage, $this->user);
|
||||
$cloned_view->setRequest($this->getRequest());
|
||||
$cloned_view = Views::executableFactory()->get($this->storage);
|
||||
$this->displayHandlers->get($id)->attachTo($cloned_view, $this->current_display, $this->element);
|
||||
}
|
||||
$this->is_attachment = FALSE;
|
||||
|
|
@ -1900,6 +1908,7 @@ class ViewExecutable {
|
|||
$types = $this::getHandlerTypes();
|
||||
$this->setDisplay($display_id);
|
||||
|
||||
$data = $this->viewsData->get($table);
|
||||
$fields = $this->displayHandlers->get($display_id)->getOption($types[$type]['plural']);
|
||||
|
||||
if (empty($id)) {
|
||||
|
|
@ -1915,8 +1924,14 @@ class ViewExecutable {
|
|||
'field' => $field,
|
||||
) + $options;
|
||||
|
||||
if (isset($data['table']['entity type'])) {
|
||||
$fields[$id]['entity_type'] = $data['table']['entity type'];
|
||||
}
|
||||
if (isset($data[$field]['entity field'])) {
|
||||
$fields[$id]['entity_field'] = $data[$field]['entity field'];
|
||||
}
|
||||
|
||||
// Load the plugin ID if available.
|
||||
$data = Views::viewsData()->get($table);
|
||||
if (isset($data[$field][$handler_type]['id'])) {
|
||||
$fields[$id]['plugin_id'] = $data[$field][$handler_type]['id'];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,13 @@ class ViewExecutableFactory {
|
|||
*/
|
||||
protected $requestStack;
|
||||
|
||||
/**
|
||||
* The views data.
|
||||
*
|
||||
* @var \Drupal\views\ViewsData
|
||||
*/
|
||||
protected $viewsData;
|
||||
|
||||
/**
|
||||
* Constructs a new ViewExecutableFactory
|
||||
*
|
||||
|
|
@ -37,10 +44,13 @@ class ViewExecutableFactory {
|
|||
* The current user.
|
||||
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
|
||||
* The request stack.
|
||||
* @param \Drupal\views\ViewsData $views_data
|
||||
* The views data.
|
||||
*/
|
||||
public function __construct(AccountInterface $user, RequestStack $request_stack) {
|
||||
public function __construct(AccountInterface $user, RequestStack $request_stack, ViewsData $views_data) {
|
||||
$this->user = $user;
|
||||
$this->requestStack = $request_stack;
|
||||
$this->viewsData = $views_data;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -53,7 +63,7 @@ class ViewExecutableFactory {
|
|||
* A ViewExecutable instance.
|
||||
*/
|
||||
public function get(ViewStorageInterface $view) {
|
||||
$view = new ViewExecutable($view, $this->user);
|
||||
$view = new ViewExecutable($view, $this->user, $this->viewsData);
|
||||
$view->setRequest($this->requestStack->getCurrentRequest());
|
||||
return $view;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ display:
|
|||
format: default_summary
|
||||
table: entity_test
|
||||
plugin_id: string
|
||||
entity_type: entity_test
|
||||
entity_field: name
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
@ -44,6 +46,8 @@ display:
|
|||
id: id
|
||||
table: entity_test
|
||||
plugin_id: numeric
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
group_by: true
|
||||
pager:
|
||||
type: some
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ display:
|
|||
overwrite_anonymous: false
|
||||
table: users_field_data
|
||||
plugin_id: user_name
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
filters:
|
||||
uid_raw:
|
||||
admin_label: ''
|
||||
|
|
@ -82,6 +84,7 @@ display:
|
|||
min: ''
|
||||
value: '1'
|
||||
plugin_id: numeric
|
||||
entity_type: user
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ display:
|
|||
id: uid
|
||||
table: node_field_data
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: uid
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
@ -44,6 +46,8 @@ display:
|
|||
link_to_node: false
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
pager:
|
||||
options:
|
||||
id: 0
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ display:
|
|||
link_to_node: false
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
pager:
|
||||
options:
|
||||
id: 0
|
||||
|
|
|
|||
|
|
@ -25,18 +25,21 @@ display:
|
|||
id: created_day
|
||||
table: node_field_data
|
||||
plugin_id: date_day
|
||||
entity_type: node
|
||||
created_fulldate:
|
||||
default_argument_type: fixed
|
||||
field: created_fulldate
|
||||
id: created_fulldate
|
||||
table: node_field_data
|
||||
plugin_id: date_fulldate
|
||||
entity_type: node
|
||||
created_month:
|
||||
default_argument_type: fixed
|
||||
field: created_month
|
||||
id: created_month
|
||||
table: node_field_data
|
||||
plugin_id: date_month
|
||||
entity_type: node
|
||||
cache:
|
||||
type: none
|
||||
empty:
|
||||
|
|
@ -60,32 +63,43 @@ display:
|
|||
id: created
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
path:
|
||||
field: path
|
||||
id: path
|
||||
table: node
|
||||
plugin_id: node_path
|
||||
entity_type: node
|
||||
filters:
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
table: node
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
status:
|
||||
field: status
|
||||
id: status
|
||||
table: node_field_data
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
title:
|
||||
field: title
|
||||
id: title
|
||||
table: node_field_data
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
footer:
|
||||
area:
|
||||
empty: false
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ display:
|
|||
id: title
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
field: status
|
||||
|
|
@ -35,6 +37,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -52,6 +56,8 @@ display:
|
|||
order: DESC
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: 'Test Display'
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ display:
|
|||
link_to_node: true
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
expose:
|
||||
|
|
@ -50,6 +52,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -67,6 +71,8 @@ display:
|
|||
order: DESC
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
style:
|
||||
type: default
|
||||
title: test_display_feed
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ display:
|
|||
table: node
|
||||
field: nid
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
display_plugin: default
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
link_to_node: false
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
|
|
@ -104,6 +106,8 @@ display:
|
|||
hide_empty: false
|
||||
empty_zero: false
|
||||
link_to_node: true
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
nothing:
|
||||
id: nothing
|
||||
table: views
|
||||
|
|
@ -217,6 +221,8 @@ display:
|
|||
expose:
|
||||
operator: '0'
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -224,6 +230,8 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: test_dropbutton
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -38,5 +38,7 @@ display:
|
|||
table: node_field_data
|
||||
field: title
|
||||
plugin_id: standard
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ display:
|
|||
table: node
|
||||
field: nid
|
||||
relationship: none
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
type:
|
||||
id: type
|
||||
table: node_field_data
|
||||
|
|
@ -73,6 +75,8 @@ display:
|
|||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
plugin_id: node_type
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
defaults:
|
||||
fields: false
|
||||
filters: false
|
||||
|
|
@ -87,5 +91,7 @@ display:
|
|||
test_bundle: test_bundle
|
||||
test_bundle_2: test_bundle_2
|
||||
plugin_id: bundle
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ display:
|
|||
id: type
|
||||
table: node_field_data
|
||||
plugin_id: node_type
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
body_value:
|
||||
id: body_value
|
||||
table: node__body
|
||||
|
|
@ -72,6 +74,8 @@ display:
|
|||
operator: empty
|
||||
value: ''
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: body
|
||||
pager:
|
||||
type: full
|
||||
sorts:
|
||||
|
|
@ -80,6 +84,8 @@ display:
|
|||
id: created
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
style:
|
||||
type: default
|
||||
row:
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ display:
|
|||
id: type
|
||||
table: node_field_data
|
||||
plugin_id: in_operator
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ display:
|
|||
id: type
|
||||
table: node_field_data
|
||||
plugin_id: in_operator
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -28,18 +28,24 @@ display:
|
|||
id: cid
|
||||
table: comment
|
||||
plugin_id: comment
|
||||
entity_type: comment
|
||||
entity_field: cid
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
table: node
|
||||
relationship: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
uid:
|
||||
field: uid
|
||||
id: uid
|
||||
table: users
|
||||
relationship: uid
|
||||
plugin_id: user
|
||||
entity_type: user
|
||||
entity_field: uid
|
||||
filter_groups:
|
||||
groups: { }
|
||||
operator: AND
|
||||
|
|
@ -56,7 +62,7 @@ display:
|
|||
table: comment_field_data
|
||||
plugin_id: standard
|
||||
uid:
|
||||
admin_label: 'Author'
|
||||
admin_label: Author
|
||||
field: uid
|
||||
group_type: group
|
||||
id: uid
|
||||
|
|
|
|||
|
|
@ -26,12 +26,16 @@ display:
|
|||
id: nid
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
filters:
|
||||
created:
|
||||
field: created
|
||||
id: created
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
label: ''
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
expose:
|
||||
|
|
@ -41,6 +43,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
label: ''
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filter_groups:
|
||||
groups:
|
||||
1: AND
|
||||
|
|
@ -44,6 +46,8 @@ display:
|
|||
value:
|
||||
value: '1'
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
nid_1:
|
||||
field: nid
|
||||
group: 2
|
||||
|
|
@ -52,6 +56,8 @@ display:
|
|||
value:
|
||||
value: '2'
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
status:
|
||||
expose:
|
||||
operator: '0'
|
||||
|
|
@ -61,6 +67,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -74,6 +82,8 @@ display:
|
|||
order: DESC
|
||||
table: node_field_data
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: test_filter_groups
|
||||
style:
|
||||
type: default
|
||||
|
|
@ -103,6 +113,8 @@ display:
|
|||
value:
|
||||
value: '1'
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
nid_1:
|
||||
field: nid
|
||||
group: 2
|
||||
|
|
@ -111,6 +123,8 @@ display:
|
|||
value:
|
||||
value: '2'
|
||||
plugin_id: numeric
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
status:
|
||||
expose:
|
||||
operator: '0'
|
||||
|
|
@ -120,6 +134,8 @@ display:
|
|||
table: node_field_data
|
||||
value: true
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
path: test-filter-groups
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
id: type
|
||||
table: node_field_data
|
||||
plugin_id: in_operator
|
||||
entity_type: node
|
||||
entity_field: type
|
||||
pager:
|
||||
type: full
|
||||
style:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ display:
|
|||
fields:
|
||||
title:
|
||||
id: title
|
||||
table: node
|
||||
table: node_field_data
|
||||
field: title
|
||||
plugin_id: node
|
||||
label: ''
|
||||
|
|
@ -56,6 +56,8 @@ display:
|
|||
hide_empty: false
|
||||
empty_zero: false
|
||||
link_to_node: true
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -66,6 +68,8 @@ display:
|
|||
expose:
|
||||
operator: '0'
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -73,6 +77,8 @@ display:
|
|||
field: created
|
||||
order: DESC
|
||||
plugin_id: date
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
title: test_get_attach_displays
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ display:
|
|||
items_per_page: 25
|
||||
table: node_field_data
|
||||
plugin_id: string
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
cache:
|
||||
type: none
|
||||
exposed_form:
|
||||
|
|
@ -42,6 +44,8 @@ display:
|
|||
label: ''
|
||||
table: node_field_data
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
pager:
|
||||
type: full
|
||||
query:
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ display:
|
|||
id: id
|
||||
table: entity_test
|
||||
plugin_id: numeric
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
name:
|
||||
alter:
|
||||
alter_text: false
|
||||
|
|
@ -50,6 +52,8 @@ display:
|
|||
id: name
|
||||
table: entity_test
|
||||
plugin_id: standard
|
||||
entity_type: entity_test
|
||||
entity_field: name
|
||||
group_by: true
|
||||
pager:
|
||||
type: some
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ display:
|
|||
id: name
|
||||
table: entity_test
|
||||
plugin_id: standard
|
||||
entity_type: entity_test
|
||||
entity_field: name
|
||||
filters:
|
||||
id:
|
||||
field: id
|
||||
|
|
@ -44,6 +46,8 @@ display:
|
|||
value:
|
||||
value: '3'
|
||||
plugin_id: numeric
|
||||
entity_type: entity_test
|
||||
entity_field: id
|
||||
group_by: true
|
||||
pager:
|
||||
type: some
|
||||
|
|
|
|||
|
|
@ -28,12 +28,16 @@ display:
|
|||
id: name
|
||||
table: taxonomy_term_field_data
|
||||
plugin_id: taxonomy
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
nid:
|
||||
field: nid
|
||||
id: nid
|
||||
relationship: tid_representative
|
||||
table: node
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
pager:
|
||||
options:
|
||||
items_per_page: 10
|
||||
|
|
@ -64,6 +68,8 @@ display:
|
|||
order: DESC
|
||||
table: taxonomy_term_data
|
||||
plugin_id: standard
|
||||
entity_type: taxonomy_term
|
||||
entity_field: tid
|
||||
style:
|
||||
type: default
|
||||
title: test_groupwise
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ display:
|
|||
table: node_field_data
|
||||
field: title
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
relationships:
|
||||
comment_cid:
|
||||
id: comment_cid
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ display:
|
|||
hide_empty: false
|
||||
empty_zero: false
|
||||
link_to_node: true
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
timestamp:
|
||||
id: timestamp
|
||||
table: history
|
||||
|
|
@ -114,6 +116,8 @@ display:
|
|||
expose:
|
||||
operator: '0'
|
||||
group: 1
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
|
|
@ -121,6 +125,8 @@ display:
|
|||
field: created
|
||||
plugin_id: date
|
||||
order: DESC
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
field_langcode: '***LANGUAGE_language_content***'
|
||||
field_langcode_add_to_query: null
|
||||
page_1:
|
||||
|
|
@ -178,6 +184,8 @@ display:
|
|||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
timestamp:
|
||||
id: timestamp
|
||||
table: history
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ display:
|
|||
fields:
|
||||
title:
|
||||
id: title
|
||||
table: node
|
||||
table: node_field_data
|
||||
field: title
|
||||
label: ''
|
||||
alter:
|
||||
|
|
@ -51,6 +51,8 @@ display:
|
|||
empty_zero: false
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
|
|
@ -61,12 +63,16 @@ display:
|
|||
operator: '0'
|
||||
group: 1
|
||||
plugin_id: boolean
|
||||
entity_type: node
|
||||
entity_field: status
|
||||
sorts:
|
||||
created:
|
||||
id: created
|
||||
table: node
|
||||
field: created
|
||||
order: DESC
|
||||
entity_type: node
|
||||
entity_field: created
|
||||
empty:
|
||||
http_status_code:
|
||||
id: http_status_code
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ display:
|
|||
fields:
|
||||
title:
|
||||
id: title
|
||||
table: node
|
||||
table: node_field_data
|
||||
field: title
|
||||
label: ''
|
||||
alter:
|
||||
|
|
@ -70,6 +70,8 @@ display:
|
|||
empty_zero: false
|
||||
link_to_node: true
|
||||
plugin_id: node
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
filters: { }
|
||||
sorts:
|
||||
nid:
|
||||
|
|
@ -78,6 +80,8 @@ display:
|
|||
field: nid
|
||||
plugin_id: standard
|
||||
order: ASC
|
||||
entity_type: node
|
||||
entity_field: nid
|
||||
title: test_mini_pager
|
||||
filter_groups:
|
||||
operator: AND
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue