Issue #2267453 by alexpott, dawehner, damiankloip: Fixed Views plugins do not store additional dependencies.

8.0.x
Nathaniel Catchpole 2014-11-11 13:04:05 +00:00
parent 0413834556
commit 29817e452a
174 changed files with 432 additions and 1229 deletions

View File

@ -71,7 +71,6 @@ display:
empty_zero: false empty_zero: false
link_to_node: true link_to_node: true
plugin_id: node plugin_id: node
provider: node
node_bulk_form: node_bulk_form:
id: node_bulk_form id: node_bulk_form
table: node table: node
@ -121,7 +120,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: node_bulk_form plugin_id: node_bulk_form
provider: node
filters: filters:
status: status:
value: true value: true
@ -132,7 +130,6 @@ display:
operator: '' operator: ''
group: 1 group: 1
plugin_id: boolean plugin_id: boolean
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -140,7 +137,6 @@ display:
field: created field: created
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views
title: form title: form
page_1: page_1:
display_plugin: page display_plugin: page
@ -169,7 +165,6 @@ display:
empty: true empty: true
content: 'This view is empty.' content: 'This view is empty.'
plugin_id: text_custom plugin_id: text_custom
provider: views
base_field: nid base_field: nid
status: true status: true
module: views module: views

View File

@ -13,11 +13,9 @@ display:
access: access:
type: none type: none
options: { } options: { }
provider: views
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -26,7 +24,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -37,7 +34,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: full type: full
options: options:
@ -59,13 +55,10 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
style: style:
type: default type: default
provider: views
row: row:
type: 'entity:aggregator_item' type: 'entity:aggregator_item'
provider: views
fields: fields:
iid: iid:
table: aggregator_item table: aggregator_item

View File

@ -17,17 +17,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access news feeds' perm: 'access news feeds'
provider: null
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -36,7 +33,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -47,7 +43,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: full type: full
options: options:
@ -82,11 +77,9 @@ display:
field: fid field: fid
id: fid id: fid
plugin_id: numeric plugin_id: numeric
provider: views
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -152,7 +145,6 @@ display:
id: page_1 id: page_1
display_title: Page display_title: Page
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -169,7 +161,6 @@ display:
id: feed_1 id: feed_1
display_title: Feed display_title: Feed
position: 2 position: 2
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -177,7 +168,6 @@ display:
type: opml type: opml
options: options:
grouping: { } grouping: { }
provider: views
path: aggregator/opml path: aggregator/opml
fields: fields:
title: title:
@ -187,9 +177,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- aggregator
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -233,7 +220,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
display_as_link: false display_as_link: false
plugin_id: aggregator_title_link plugin_id: aggregator_title_link
provider: aggregator
url: url:
id: url id: url
table: aggregator_feed table: aggregator_feed
@ -241,9 +227,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -287,7 +270,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
display_as_link: false display_as_link: false
plugin_id: url plugin_id: url
provider: views
description: description:
id: description id: description
table: aggregator_feed table: aggregator_feed
@ -295,9 +277,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -340,7 +319,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: xss plugin_id: xss
provider: views
link: link:
id: link id: link
table: aggregator_feed table: aggregator_feed
@ -348,9 +326,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -394,7 +369,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
display_as_link: false display_as_link: false
plugin_id: url plugin_id: url
provider: views
defaults: defaults:
fields: false fields: false
title: false title: false
@ -409,7 +383,6 @@ display:
language_field: '' language_field: ''
xml_url_field: url xml_url_field: url
url_field: '' url_field: ''
provider: views
displays: displays:
page_1: page_1 page_1: page_1
default: '0' default: '0'

View File

@ -31,14 +31,12 @@ display:
id: name id: name
table: views_test_data table: views_test_data
field: name field: name
provider: views_test_data
title: test_view_block title: test_view_block
block_1: block_1:
display_plugin: block display_plugin: block
id: block_1 id: block_1
display_title: Block display_title: Block
position: null position: null
provider: views
display_options: display_options:
field: field:
title: title:

View File

@ -31,10 +31,8 @@ display:
id: name id: name
table: views_test_data table: views_test_data
field: name field: name
provider: views_test_data
title: test_view_block2 title: test_view_block2
block_1: block_1:
provider: views
display_plugin: block display_plugin: block
id: block_1 id: block_1
display_title: Block display_title: Block
@ -44,7 +42,6 @@ display:
title: title:
link_to_node: true link_to_node: true
block_2: block_2:
provider: views
display_plugin: block display_plugin: block
id: block_2 id: block_2
display_title: Block display_title: Block
@ -54,7 +51,6 @@ display:
title: title:
link_to_node: true link_to_node: true
block_3: block_3:
provider: views
display_plugin: block display_plugin: block
id: block_3 id: block_3
display_title: Block display_title: Block

View File

@ -22,22 +22,17 @@ display:
type: perm type: perm
options: options:
perm: 'access comments' perm: 'access comments'
provider: user
cache: cache:
type: none type: none
provider: views
query: query:
type: views_query type: views_query
provider: views
exposed_form: exposed_form:
type: basic type: basic
provider: views
pager: pager:
type: some type: some
options: options:
items_per_page: 10 items_per_page: 10
offset: 0 offset: 0
provider: views
style: style:
type: html_list type: html_list
options: options:
@ -47,7 +42,6 @@ display:
type: ul type: ul
wrapper_class: item-list wrapper_class: item-list
class: '' class: ''
provider: views
row: row:
type: fields type: fields
options: options:
@ -57,7 +51,6 @@ display:
changed: changed changed: changed
separator: ' ' separator: ' '
hide_empty: false hide_empty: false
provider: views
relationships: relationships:
node: node:
field: node field: node
@ -231,7 +224,6 @@ display:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
block_1: block_1:
provider: views
display_plugin: block display_plugin: block
id: block_1 id: block_1
display_title: Block display_title: Block

View File

@ -141,7 +141,6 @@ class Comment extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
// Add a relationship to nodes. // Add a relationship to nodes.
$display_options['relationships']['node']['id'] = 'node'; $display_options['relationships']['node']['id'] = 'node';
@ -149,7 +148,6 @@ class Comment extends WizardPluginBase {
$display_options['relationships']['node']['field'] = 'node'; $display_options['relationships']['node']['field'] = 'node';
$display_options['relationships']['node']['required'] = 1; $display_options['relationships']['node']['required'] = 1;
$display_options['relationships']['node']['plugin_id'] = 'standard'; $display_options['relationships']['node']['plugin_id'] = 'standard';
$display_options['relationships']['node']['provider'] = 'views';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
unset($display_options['fields']); unset($display_options['fields']);
@ -158,7 +156,6 @@ class Comment extends WizardPluginBase {
$display_options['fields']['subject']['id'] = 'subject'; $display_options['fields']['subject']['id'] = 'subject';
$display_options['fields']['subject']['table'] = 'comment_field_data'; $display_options['fields']['subject']['table'] = 'comment_field_data';
$display_options['fields']['subject']['field'] = 'subject'; $display_options['fields']['subject']['field'] = 'subject';
$display_options['fields']['subject']['provider'] = 'comment';
$display_options['fields']['subject']['label'] = ''; $display_options['fields']['subject']['label'] = '';
$display_options['fields']['subject']['alter']['alter_text'] = 0; $display_options['fields']['subject']['alter']['alter_text'] = 0;
$display_options['fields']['subject']['alter']['make_link'] = 0; $display_options['fields']['subject']['alter']['make_link'] = 0;

View File

@ -37,7 +37,6 @@ display:
id: node id: node
required: true required: true
table: comment_field_data table: comment_field_data
provider: views
fields: fields:
subject: subject:
id: subject id: subject
@ -57,7 +56,6 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
link_to_comment: true link_to_comment: true
provider: comment
filters: { } filters: { }
sorts: { } sorts: { }
label: test_comment_rss label: test_comment_rss

View File

@ -20,7 +20,6 @@ display:
items_per_page: 25 items_per_page: 25
table: node_field_data table: node_field_data
plugin_id: argument_comment_user_uid plugin_id: argument_comment_user_uid
provider: comment
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -31,7 +30,6 @@ display:
id: nid id: nid
table: node table: node
plugin_id: node plugin_id: node
provider: node
pager: pager:
type: full type: full
query: query:

View File

@ -18,19 +18,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -39,8 +34,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -51,8 +44,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: none type: none
options: options:
@ -72,17 +63,14 @@ display:
field: node field: node
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
relationship: none relationship: none
group_type: group group_type: group
admin_label: Content admin_label: Content
dependencies: { }
fields: fields:
subject: subject:
id: subject id: subject
table: comment_field_data table: comment_field_data
field: subject field: subject
provider: comment
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -99,7 +87,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
exclude: false exclude: false
element_type: '' element_type: ''
element_class: '' element_class: ''
@ -120,9 +107,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -152,7 +136,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
sorts: { } sorts: { }
title: 'Title filter page' title: 'Title filter page'
header: { } header: { }
@ -166,7 +149,6 @@ display:
id: page_tc id: page_tc
display_title: 'Title Comida' display_title: 'Title Comida'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -177,7 +159,6 @@ display:
id: page_bp id: page_bp
display_title: 'Body Paris' display_title: 'Body Paris'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -191,9 +172,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -223,7 +201,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -238,7 +215,6 @@ display:
id: page_tp id: page_tp
display_title: 'Title Paris' display_title: 'Title Paris'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -252,10 +228,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -285,7 +257,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -298,7 +269,6 @@ display:
id: page_bf id: page_bf
display_title: 'Body Comida' display_title: 'Body Comida'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -312,10 +282,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -345,7 +311,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false

View File

@ -44,7 +44,6 @@ display:
link_to_user: true link_to_user: true
format_username: true format_username: true
plugin_id: user_name plugin_id: user_name
provider: user
translation_link: translation_link:
id: translation_link id: translation_link
table: users table: users
@ -72,7 +71,6 @@ display:
group: true group: true
exposed: false exposed: false
plugin_id: numeric plugin_id: numeric
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -80,7 +78,6 @@ display:
field: created field: created
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views
title: People title: People
empty: empty:
area: area:
@ -91,7 +88,6 @@ display:
content: 'No people available.' content: 'No people available.'
format: plain_text format: plain_text
plugin_id: text plugin_id: text
provider: views
page_1: page_1:
display_plugin: page display_plugin: page
id: page_1 id: page_1

View File

@ -9,7 +9,6 @@ display:
id: entity_reference_1 id: entity_reference_1
display_title: EntityReference display_title: EntityReference
position: null position: null
provider: entity_reference
display_options: display_options:
style: style:
type: entity_reference type: entity_reference
@ -92,7 +91,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_node: true link_to_node: true
plugin_id: node plugin_id: node
provider: node
filters: filters:
status: status:
value: true value: true
@ -103,7 +101,6 @@ display:
operator: '' operator: ''
group: 1 group: 1
plugin_id: boolean plugin_id: boolean
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -111,7 +108,6 @@ display:
field: created field: created
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views
label: 'Entity reference' label: 'Entity reference'
module: entity_reference_test module: entity_reference_test
id: test_entity_reference id: test_entity_reference

View File

@ -938,7 +938,7 @@ class Field extends FieldPluginBase implements CacheablePluginInterface {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getDependencies() { public function calculateDependencies() {
// Add the module providing the configured field storage as a dependency. // Add the module providing the configured field storage as a dependency.
return array('config' => array($this->getFieldStorageConfig()->getConfigDependencyName())); return array('config' => array($this->getFieldStorageConfig()->getConfigDependencyName()));
} }

View File

@ -83,6 +83,10 @@ class FieldUITest extends FieldTestBase {
$view->initHandlers(); $view->initHandlers();
$this->assertEqual($view->field['field_name_0']->options['type'], 'text_trimmed'); $this->assertEqual($view->field['field_name_0']->options['type'], 'text_trimmed');
$this->assertEqual($view->field['field_name_0']->options['settings']['trim_length'], $random_number); $this->assertEqual($view->field['field_name_0']->options['settings']['trim_length'], $random_number);
// Ensure that the view depends on the field storage.
$dependencies = \Drupal::service('config.manager')->findConfigEntityDependents('config', [$this->fieldStorages[0]->getConfigDependencyName()]);
$this->assertTrue(isset($dependencies['views.view.test_view_fieldapi']), 'The view is dependent on the field storage.');
} }
/** /**

View File

@ -13,19 +13,16 @@ display:
id: nid id: nid
table: node table: node
plugin_id: node plugin_id: node
provider: node
field_name_0: field_name_0:
id: field_name_0 id: field_name_0
table: node__field_name_0 table: node__field_name_0
field: field_name_0 field: field_name_0
plugin_id: field plugin_id: field
provider: field
field_name_5: field_name_5:
id: field_name_5 id: field_name_5
table: node__field_name_5 table: node__field_name_5
field: field_name_5 field: field_name_5
plugin_id: field plugin_id: field
provider: field
cache: cache:
type: none type: none
exposed_form: exposed_form:

View File

@ -14,11 +14,9 @@ display:
type: perm type: perm
options: options:
perm: 'access files overview' perm: 'access files overview'
provider: views
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -27,7 +25,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -38,7 +35,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: mini type: mini
options: options:
@ -57,7 +53,6 @@ display:
items_per_page_options_all_label: '- All -' items_per_page_options_all_label: '- All -'
offset: false offset: false
offset_label: Offset offset_label: Offset
provider: views
style: style:
type: table type: table
options: options:
@ -137,10 +132,8 @@ display:
responsive: priority-medium responsive: priority-medium
default: 'changed' default: 'changed'
empty_table: true empty_table: true
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
fid: fid:
id: fid id: fid
@ -726,7 +719,6 @@ display:
items_per_page_options_all_label: '- All -' items_per_page_options_all_label: '- All -'
offset: false offset: false
offset_label: Offset offset_label: Offset
provider: views
pager_options: false pager_options: false
filters: { } filters: { }
filter_groups: filter_groups:
@ -783,7 +775,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_entity: true link_to_entity: true
plugin_id: entity_label plugin_id: entity_label
provider: views
type: type:
id: type id: type
table: file_usage table: file_usage
@ -833,7 +824,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: standard plugin_id: standard
provider: views
module: module:
id: module id: module
table: file_usage table: file_usage
@ -883,7 +873,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: standard plugin_id: standard
provider: views
count: count:
id: count id: count
table: file_usage table: file_usage
@ -942,7 +931,6 @@ display:
prefix: '' prefix: ''
suffix: '' suffix: ''
plugin_id: numeric plugin_id: numeric
provider: views
group_by: false group_by: false
title: 'File usage' title: 'File usage'
arguments: arguments:
@ -981,7 +969,6 @@ display:
break_phrase: false break_phrase: false
not: false not: false
plugin_id: file_fid plugin_id: file_fid
provider: file
style: style:
type: table type: table
options: options:
@ -1029,11 +1016,9 @@ display:
responsive: '' responsive: ''
default: entity_label default: entity_label
empty_table: true empty_table: true
provider: views
row: row:
type: fields type: fields
options: { } options: { }
provider: views
relationships: relationships:
fid: fid:
id: fid id: fid

View File

@ -44,7 +44,6 @@ class File extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
unset($display_options['fields']); unset($display_options['fields']);
@ -53,7 +52,6 @@ class File extends WizardPluginBase {
$display_options['fields']['filename']['id'] = 'filename'; $display_options['fields']['filename']['id'] = 'filename';
$display_options['fields']['filename']['table'] = 'file_managed'; $display_options['fields']['filename']['table'] = 'file_managed';
$display_options['fields']['filename']['field'] = 'filename'; $display_options['fields']['filename']['field'] = 'filename';
$display_options['fields']['filename']['provider'] = 'file';
$display_options['fields']['filename']['label'] = ''; $display_options['fields']['filename']['label'] = '';
$display_options['fields']['filename']['alter']['alter_text'] = 0; $display_options['fields']['filename']['alter']['alter_text'] = 0;
$display_options['fields']['filename']['alter']['make_link'] = 0; $display_options['fields']['filename']['alter']['make_link'] = 0;

View File

@ -17,21 +17,18 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
id: id:
field: id field: id
id: id id: id
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
name: name:
field: name field: name
id: file_extension id: file_extension
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: string plugin_id: string
provider: views_test_data
pager: pager:
options: options:
offset: '0' offset: '0'
@ -45,7 +42,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -29,7 +29,6 @@ display:
table: forum_index table: forum_index
field: nid field: nid
id: nid id: nid
provider: views
sticky: sticky:
id: sticky id: sticky
table: forum_index table: forum_index
@ -83,7 +82,6 @@ display:
type_custom_false: '' type_custom_false: ''
not: false not: false
plugin_id: boolean plugin_id: boolean
provider: views
comment_count: comment_count:
id: comment_count id: comment_count
table: forum_index table: forum_index
@ -142,7 +140,6 @@ display:
prefix: '' prefix: ''
suffix: '' suffix: ''
plugin_id: numeric plugin_id: numeric
provider: views
filters: { } filters: { }
sorts: { } sorts: { }
label: test_forum_index label: test_forum_index

View File

@ -26,16 +26,13 @@ display:
distinct: false distinct: false
replica: false replica: false
query_tags: { } query_tags: { }
provider: views
title: 'Monthly archive' title: 'Monthly archive'
access: access:
type: none type: none
options: { } options: { }
provider: views
cache: cache:
type: none type: none
options: { } options: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -46,7 +43,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: mini type: mini
options: options:
@ -65,7 +61,6 @@ display:
tags: tags:
previous: previous:
next: next:
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -80,7 +75,6 @@ display:
expose: expose:
label: '' label: ''
granularity: second granularity: second
provider: views
arguments: arguments:
created_year_month: created_year_month:
id: created_year_month id: created_year_month
@ -100,7 +94,6 @@ display:
items_per_page: 30 items_per_page: 30
specify_validation: true specify_validation: true
plugin_id: date_year_month plugin_id: date_year_month
provider: views
filters: filters:
status: status:
id: status id: status
@ -111,7 +104,6 @@ display:
expose: expose:
operator: '0' operator: '0'
plugin_id: boolean plugin_id: boolean
provider: views
langcode: langcode:
id: langcode id: langcode
table: node_field_data table: node_field_data
@ -119,9 +111,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***' '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
@ -153,7 +142,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
style: style:
type: default type: default
options: options:
@ -161,13 +149,11 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false uses_fields: false
provider: views
row: row:
type: 'entity:node' type: 'entity:node'
options: options:
view_mode: teaser view_mode: teaser
comments: false comments: false
provider: node
header: { } header: { }
footer: { } footer: { }
empty: { } empty: { }
@ -180,12 +166,10 @@ display:
display_title: Block display_title: Block
display_plugin: block display_plugin: block
position: 1 position: 1
provider: views
display_options: display_options:
query: query:
type: views_query type: views_query
options: { } options: { }
provider: views
defaults: defaults:
arguments: false arguments: false
arguments: arguments:
@ -205,7 +189,6 @@ display:
items_per_page: 30 items_per_page: 30
specify_validation: true specify_validation: true
plugin_id: date_year_month plugin_id: date_year_month
provider: views
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
page_1: page_1:
@ -217,7 +200,6 @@ display:
query: query:
type: views_query type: views_query
options: { } options: { }
provider: views
path: archive path: archive
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -20,13 +20,10 @@ display:
type: perm type: perm
options: options:
perm: 'access content overview' perm: 'access content overview'
provider: user
cache: cache:
type: none type: none
provider: views
query: query:
type: views_query type: views_query
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -37,12 +34,10 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: full type: full
options: options:
items_per_page: 50 items_per_page: 50
provider: views
style: style:
type: table type: table
options: options:
@ -136,10 +131,8 @@ display:
responsive: '' responsive: ''
default: changed default: changed
empty_table: true empty_table: true
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
node_bulk_form: node_bulk_form:
id: node_bulk_form id: node_bulk_form
@ -156,7 +149,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: node_bulk_form plugin_id: node_bulk_form
provider: node
title: title:
id: title id: title
table: node_field_data table: node_field_data
@ -173,7 +165,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_node: true link_to_node: true
plugin_id: node plugin_id: node
provider: node
type: type:
id: type id: type
table: node_field_data table: node_field_data
@ -191,7 +182,6 @@ display:
link_to_node: false link_to_node: false
machine_name: '' machine_name: ''
plugin_id: node_type plugin_id: node_type
provider: node
name: name:
id: name id: name
table: users_field_data table: users_field_data
@ -212,7 +202,6 @@ display:
anonymous_text: '' anonymous_text: ''
format_username: true format_username: true
plugin_id: user_name plugin_id: user_name
provider: user
status: status:
id: status id: status
table: node_field_data table: node_field_data
@ -232,7 +221,6 @@ display:
type_custom_false: '' type_custom_false: ''
not: '' not: ''
plugin_id: boolean plugin_id: boolean
provider: views
changed: changed:
id: changed id: changed
table: node_field_data table: node_field_data
@ -251,7 +239,6 @@ display:
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
plugin_id: date plugin_id: date
provider: views
edit_node: edit_node:
id: edit_node id: edit_node
table: node table: node
@ -260,7 +247,6 @@ display:
exclude: true exclude: true
text: Edit text: Edit
plugin_id: node_link_edit plugin_id: node_link_edit
provider: node
delete_node: delete_node:
id: delete_node id: delete_node
table: node table: node
@ -269,7 +255,6 @@ display:
exclude: true exclude: true
text: Delete text: Delete
plugin_id: node_link_delete plugin_id: node_link_delete
provider: node
dropbutton: dropbutton:
id: dropbutton id: dropbutton
table: views table: views
@ -280,7 +265,6 @@ display:
delete_node: delete_node delete_node: delete_node
destination: true destination: true
plugin_id: dropbutton plugin_id: dropbutton
provider: views
filters: filters:
status_extra: status_extra:
id: status_extra id: status_extra
@ -289,7 +273,6 @@ display:
operator: '=' operator: '='
value: false value: false
plugin_id: node_status plugin_id: node_status
provider: node
group: 1 group: 1
status: status:
id: status id: status
@ -335,7 +318,6 @@ display:
operator: '=' operator: '='
value: '0' value: '0'
plugin_id: boolean plugin_id: boolean
provider: views
type: type:
id: type id: type
table: node_field_data table: node_field_data
@ -375,7 +357,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: bundle plugin_id: bundle
provider: views
title: title:
id: title id: title
table: node_field_data table: node_field_data
@ -414,7 +395,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
langcode: langcode:
id: langcode id: langcode
table: node_field_data table: node_field_data
@ -422,9 +402,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: { } value: { }
group: 1 group: 1
@ -457,7 +434,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
sorts: { } sorts: { }
title: Content title: Content
empty: empty:
@ -468,7 +444,6 @@ display:
empty: true empty: true
content: 'No content available.' content: 'No content available.'
plugin_id: text_custom plugin_id: text_custom
provider: views
arguments: { } arguments: { }
relationships: relationships:
uid: uid:
@ -478,7 +453,6 @@ display:
admin_label: author admin_label: author
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
show_admin_links: false show_admin_links: false
filter_groups: filter_groups:
operator: AND operator: AND

View File

@ -24,11 +24,9 @@ display:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -37,7 +35,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -48,13 +45,11 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: some type: some
options: options:
items_per_page: 10 items_per_page: 10
offset: 0 offset: 0
provider: views
style: style:
type: table type: table
options: options:
@ -110,10 +105,8 @@ display:
responsive: '' responsive: ''
default: '-1' default: '-1'
empty_table: false empty_table: false
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
title: title:
id: title id: title
@ -165,7 +158,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_node: true link_to_node: true
plugin_id: node plugin_id: node
provider: node
name: name:
id: name id: name
table: users_field_data table: users_field_data
@ -219,7 +211,6 @@ display:
anonymous_text: '' anonymous_text: ''
format_username: true format_username: true
plugin_id: user_name plugin_id: user_name
provider: user
edit_node: edit_node:
id: edit_node id: edit_node
table: node table: node
@ -270,7 +261,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
text: edit text: edit
plugin_id: node_link_edit plugin_id: node_link_edit
provider: node
delete_node: delete_node:
id: delete_node id: delete_node
table: node table: node
@ -321,7 +311,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
text: delete text: delete
plugin_id: node_link_delete plugin_id: node_link_delete
provider: node
filters: filters:
status_extra: status_extra:
id: status_extra id: status_extra
@ -359,7 +348,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: node_status plugin_id: node_status
provider: node
langcode: langcode:
id: langcode id: langcode
table: node_field_data table: node_field_data
@ -367,9 +355,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***' '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
@ -401,7 +386,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
sorts: sorts:
changed: changed:
id: changed id: changed
@ -416,7 +400,6 @@ display:
label: '' label: ''
granularity: second granularity: second
plugin_id: date plugin_id: date
provider: views
title: 'Recent content' title: 'Recent content'
header: { } header: { }
footer: { } footer: { }
@ -432,7 +415,6 @@ display:
tokenize: false tokenize: false
content: 'No content available.' content: 'No content available.'
plugin_id: text_custom plugin_id: text_custom
provider: views
relationships: relationships:
uid: uid:
id: uid id: uid
@ -443,7 +425,6 @@ display:
admin_label: author admin_label: author
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
arguments: { } arguments: { }
filter_groups: filter_groups:
operator: AND operator: AND
@ -464,4 +445,3 @@ display:
block_category: 'Lists (Views)' block_category: 'Lists (Views)'
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
provider: views

View File

@ -18,11 +18,9 @@ display:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
cache: cache:
type: none type: none
options: { } options: { }
provider: views
empty: empty:
area_text_custom: area_text_custom:
admin_label: '' admin_label: ''
@ -36,7 +34,6 @@ display:
table: views table: views
tokenize: false tokenize: false
plugin_id: text plugin_id: text
provider: views
node_listing_empty: node_listing_empty:
admin_label: '' admin_label: ''
empty: true empty: true
@ -47,7 +44,6 @@ display:
relationship: none relationship: none
table: node table: node
plugin_id: node_listing_empty plugin_id: node_listing_empty
provider: node
title: title:
id: title id: title
table: views table: views
@ -59,7 +55,6 @@ display:
empty: true empty: true
title: 'Welcome to [site:name]' title: 'Welcome to [site:name]'
plugin_id: title plugin_id: title
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -107,7 +102,6 @@ display:
table: node_field_data table: node_field_data
value: true value: true
plugin_id: boolean plugin_id: boolean
provider: views
status: status:
expose: expose:
operator: '' operator: ''
@ -117,7 +111,6 @@ display:
table: node_field_data table: node_field_data
value: true value: true
plugin_id: boolean plugin_id: boolean
provider: views
langcode: langcode:
id: langcode id: langcode
table: node_field_data table: node_field_data
@ -125,9 +118,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***' '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
@ -159,7 +149,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
pager: pager:
type: full type: full
options: options:
@ -181,7 +170,6 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -190,14 +178,12 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
row: row:
type: 'entity:node' type: 'entity:node'
options: options:
build_mode: teaser build_mode: teaser
comments: false comments: false
view_mode: teaser view_mode: teaser
provider: views
sorts: sorts:
sticky: sticky:
admin_label: '' admin_label: ''
@ -211,7 +197,6 @@ display:
relationship: none relationship: none
table: node_field_data table: node_field_data
plugin_id: boolean plugin_id: boolean
provider: views
created: created:
field: created field: created
id: created id: created
@ -225,7 +210,6 @@ display:
expose: expose:
label: '' label: ''
granularity: second granularity: second
provider: views
style: style:
type: default type: default
options: options:
@ -270,19 +254,16 @@ display:
options: options:
items_per_page: 10 items_per_page: 10
offset: 0 offset: 0
provider: views
style: style:
type: rss type: rss
options: options:
description: '' description: ''
grouping: { } grouping: { }
uses_fields: false uses_fields: false
provider: views
row: row:
type: node_rss type: node_rss
options: options:
relationship: none relationship: none
view_mode: rss view_mode: rss
provider: views
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -27,16 +27,13 @@ display:
distinct: false distinct: false
replica: false replica: false
query_tags: { } query_tags: { }
provider: views
use_ajax: true use_ajax: true
access: access:
type: none type: none
options: { } options: { }
provider: views
cache: cache:
type: none type: none
options: { } options: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -47,7 +44,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: mini type: mini
options: options:
@ -66,7 +62,6 @@ display:
tags: tags:
previous: previous:
next: next:
provider: views
fields: fields:
title: title:
id: title id: title
@ -118,7 +113,6 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
provider: node
name: name:
id: name id: name
table: users_field_data table: users_field_data
@ -172,7 +166,6 @@ display:
overwrite_anonymous: false overwrite_anonymous: false
anonymous_text: '' anonymous_text: ''
format_username: true format_username: true
provider: user
changed: changed:
id: changed id: changed
table: node_field_data table: node_field_data
@ -225,7 +218,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
provider: views
arguments: arguments:
title: title:
id: title id: title
@ -258,7 +250,6 @@ display:
fail: 'not found' fail: 'not found'
validate_options: { } validate_options: { }
break_phrase: false break_phrase: false
provider: views
relationships: relationships:
uid: uid:
id: uid id: uid
@ -269,7 +260,6 @@ display:
group_type: group group_type: group
admin_label: author admin_label: author
required: false required: false
provider: views
style: style:
type: table type: table
options: options:
@ -297,7 +287,6 @@ display:
order: asc order: asc
summary: '' summary: ''
empty_table: false empty_table: false
provider: views
row: row:
type: fields type: fields
options: options:
@ -305,7 +294,6 @@ display:
separator: '' separator: ''
hide_empty: false hide_empty: false
default_field_elements: true default_field_elements: true
provider: views
header: { } header: { }
footer: { } footer: { }
empty: { } empty: { }
@ -320,9 +308,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***' '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
@ -354,7 +339,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
page_1: page_1:
id: page_1 id: page_1
display_title: Page display_title: Page
@ -382,13 +366,11 @@ display:
query: query:
type: views_query type: views_query
options: { } options: { }
provider: views
pager: pager:
type: none type: none
options: options:
offset: 0 offset: 0
items_per_page: 0 items_per_page: 0
provider: views
defaults: defaults:
arguments: false arguments: false
arguments: arguments:
@ -426,7 +408,6 @@ display:
fail: 'not found' fail: 'not found'
validate_options: { } validate_options: { }
break_phrase: false break_phrase: false
provider: views
displays: displays:
default: default default: default
page_1: page_1 page_1: page_1

View File

@ -126,7 +126,6 @@ class Node extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
unset($display_options['fields']); unset($display_options['fields']);
@ -137,7 +136,6 @@ class Node extends WizardPluginBase {
$display_options['fields']['title']['id'] = 'title'; $display_options['fields']['title']['id'] = 'title';
$display_options['fields']['title']['table'] = 'node_field_data'; $display_options['fields']['title']['table'] = 'node_field_data';
$display_options['fields']['title']['field'] = 'title'; $display_options['fields']['title']['field'] = 'title';
$display_options['fields']['title']['provider'] = 'node';
$display_options['fields']['title']['label'] = ''; $display_options['fields']['title']['label'] = '';
$display_options['fields']['title']['alter']['alter_text'] = 0; $display_options['fields']['title']['alter']['alter_text'] = 0;
$display_options['fields']['title']['alter']['make_link'] = 0; $display_options['fields']['title']['alter']['make_link'] = 0;

View File

@ -88,7 +88,6 @@ class NodeRevision extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
$display_options['access']['perm'] = 'view revisions'; $display_options['access']['perm'] = 'view revisions';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
@ -98,7 +97,6 @@ class NodeRevision extends WizardPluginBase {
$display_options['fields']['changed']['id'] = 'changed'; $display_options['fields']['changed']['id'] = 'changed';
$display_options['fields']['changed']['table'] = 'node_field_revision'; $display_options['fields']['changed']['table'] = 'node_field_revision';
$display_options['fields']['changed']['field'] = 'changed'; $display_options['fields']['changed']['field'] = 'changed';
$display_options['fields']['changed']['provider'] = 'node';
$display_options['fields']['changed']['alter']['alter_text'] = FALSE; $display_options['fields']['changed']['alter']['alter_text'] = FALSE;
$display_options['fields']['changed']['alter']['make_link'] = FALSE; $display_options['fields']['changed']['alter']['make_link'] = FALSE;
$display_options['fields']['changed']['alter']['absolute'] = FALSE; $display_options['fields']['changed']['alter']['absolute'] = FALSE;
@ -114,7 +112,6 @@ class NodeRevision extends WizardPluginBase {
$display_options['fields']['title']['id'] = 'title'; $display_options['fields']['title']['id'] = 'title';
$display_options['fields']['title']['table'] = 'node_field_revision'; $display_options['fields']['title']['table'] = 'node_field_revision';
$display_options['fields']['title']['field'] = 'title'; $display_options['fields']['title']['field'] = 'title';
$display_options['fields']['title']['provider'] = 'node';
$display_options['fields']['title']['label'] = ''; $display_options['fields']['title']['label'] = '';
$display_options['fields']['title']['alter']['alter_text'] = 0; $display_options['fields']['title']['alter']['alter_text'] = 0;
$display_options['fields']['title']['alter']['make_link'] = 0; $display_options['fields']['title']['alter']['make_link'] = 0;

View File

@ -77,7 +77,6 @@ display:
relationship: none relationship: none
table: node table: node
plugin_id: numeric plugin_id: numeric
provider: views
menu: menu:
type: tab type: tab
title: 'Test contextual link' title: 'Test contextual link'

View File

@ -18,19 +18,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -39,8 +34,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -51,8 +44,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: none type: none
options: options:
@ -72,7 +63,6 @@ display:
id: title id: title
table: node_field_data table: node_field_data
field: title field: title
provider: node
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -89,7 +79,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
exclude: false exclude: false
element_type: '' element_type: ''
element_class: '' element_class: ''
@ -106,7 +95,6 @@ display:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '' operator: ''
@ -118,11 +106,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -152,7 +135,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -162,7 +144,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
exposed: false exposed: false
expose: expose:
label: '' label: ''
@ -180,7 +161,6 @@ display:
id: page_tf id: page_tf
display_title: 'Title filter page' display_title: 'Title filter page'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -196,7 +176,6 @@ display:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '' operator: ''
@ -208,12 +187,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
- views
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -243,7 +216,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:
@ -253,7 +225,6 @@ display:
id: page_bf id: page_bf
display_title: 'Body filter page' display_title: 'Body filter page'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -269,7 +240,6 @@ display:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '' operator: ''
@ -281,10 +251,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -314,7 +280,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:
@ -324,7 +289,6 @@ display:
id: page_bfp id: page_bfp
display_title: 'Body filter page Paris' display_title: 'Body filter page Paris'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -340,7 +304,6 @@ display:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '' operator: ''
@ -352,11 +315,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -386,7 +344,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:
@ -396,7 +353,6 @@ display:
id: page_tfp id: page_tfp
display_title: 'Title filter page Paris' display_title: 'Title filter page Paris'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -11,7 +11,6 @@ display:
id: type id: type
table: node_field_data table: node_field_data
plugin_id: node_type plugin_id: node_type
provider: node
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -17,7 +17,6 @@ display:
table: node table: node
field: nid field: nid
plugin_id: node plugin_id: node
provider: node
filter_groups: filter_groups:
groups: groups:
1: AND 1: AND
@ -34,7 +33,6 @@ display:
value: value:
- '1' - '1'
plugin_id: node_uid_revision plugin_id: node_uid_revision
provider: node
sorts: sorts:
nid: nid:
id: nid id: nid
@ -43,7 +41,6 @@ display:
order: ASC order: ASC
plugin_id: standard plugin_id: standard
relationship: none relationship: none
provider: views
pager: pager:
type: full type: full
query: query:

View File

@ -18,19 +18,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -39,8 +34,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -51,8 +44,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: none type: none
options: options:
@ -67,7 +58,6 @@ display:
inline: { } inline: { }
separator: '' separator: ''
hide_empty: false hide_empty: false
provider: views
fields: fields:
title: title:
id: title id: title
@ -76,9 +66,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- node
label: '' label: ''
exclude: false exclude: false
alter: alter:
@ -121,7 +108,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
link_to_node: 0 link_to_node: 0
provider: node
langcode: langcode:
id: langcode id: langcode
table: node_field_data table: node_field_data
@ -129,9 +115,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- node
label: Language label: Language
exclude: false exclude: false
alter: alter:
@ -176,13 +159,11 @@ display:
link_to_node: false link_to_node: false
native_language: 0 native_language: 0
plugin_id: node_language plugin_id: node_language
provider: node
filters: filters:
status: status:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '' operator: ''
@ -200,12 +181,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
- views
- views
operator: in operator: in
value: value:
fr: fr fr: fr
@ -238,7 +213,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
sorts: sorts:
langcode: langcode:
id: langcode id: langcode
@ -247,16 +221,11 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
order: ASC order: ASC
exposed: false exposed: false
expose: expose:
label: '' label: ''
plugin_id: standard plugin_id: standard
provider: views
title: 'Language filter test' title: 'Language filter test'
header: { } header: { }
footer: { } footer: { }
@ -270,9 +239,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
default_action: ignore default_action: ignore
exception: exception:
value: all value: all
@ -299,7 +265,6 @@ display:
fail: 'not found' fail: 'not found'
validate_options: { } validate_options: { }
plugin_id: language plugin_id: language
provider: views
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
page_1: page_1:
@ -307,7 +272,6 @@ display:
id: page_1 id: page_1
display_title: Page display_title: Page
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -20,13 +20,11 @@ display:
table: node table: node
field: node_bulk_form field: node_bulk_form
plugin_id: node_bulk_form plugin_id: node_bulk_form
provider: node
title: title:
id: title id: title
table: node_field_data table: node_field_data
field: title field: title
plugin_id: node plugin_id: node
provider: node
sorts: sorts:
nid: nid:
id: nid id: nid
@ -34,7 +32,6 @@ display:
field: nid field: nid
order: ASC order: ASC
plugin_id: standard plugin_id: standard
provider: views
page_1: page_1:
display_plugin: page display_plugin: page
id: page_1 id: page_1

View File

@ -11,34 +11,29 @@ display:
field: nid field: nid
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
fields: fields:
vid: vid:
id: vid id: vid
table: node_revision table: node_revision
field: vid field: vid
plugin_id: standard plugin_id: standard
provider: views
nid_1: nid_1:
id: nid_1 id: nid_1
table: node_revision table: node_revision
field: nid field: nid
plugin_id: standard plugin_id: standard
provider: views
nid: nid:
id: nid id: nid
table: node table: node
field: nid field: nid
relationship: nid relationship: nid
plugin_id: node plugin_id: node
provider: node
arguments: arguments:
nid: nid:
id: nid id: nid
table: node_revision table: node_revision
field: nid field: nid
plugin_id: node_nid plugin_id: node_nid
provider: node
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -11,34 +11,29 @@ display:
field: vid field: vid
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
fields: fields:
vid: vid:
id: vid id: vid
table: node_revision table: node_revision
field: vid field: vid
plugin_id: standard plugin_id: standard
provider: views
nid_1: nid_1:
id: nid_1 id: nid_1
table: node_revision table: node_revision
field: nid field: nid
plugin_id: standard plugin_id: standard
provider: views
nid: nid:
id: nid id: nid
table: node table: node
field: nid field: nid
relationship: vid relationship: vid
plugin_id: node plugin_id: node
provider: node
arguments: arguments:
nid: nid:
id: nid id: nid
table: node_revision table: node_revision
field: nid field: nid
plugin_id: node_nid plugin_id: node_nid
provider: node
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -22,7 +22,6 @@ display:
table: node table: node
value: true value: true
plugin_id: boolean plugin_id: boolean
provider: views
pager: pager:
options: options:
items_per_page: 10 items_per_page: 10

View File

@ -118,7 +118,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_node: false link_to_node: false
plugin_id: node plugin_id: node
provider: node
filters: filters:
status: status:
value: true value: true
@ -128,7 +127,6 @@ display:
expose: expose:
operator: '' operator: ''
group: 1 group: 1
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -142,7 +140,6 @@ display:
expose: expose:
label: '' label: ''
granularity: second granularity: second
provider: views
title: test_node_view title: test_node_view
header: { } header: { }
footer: { } footer: { }
@ -188,7 +185,6 @@ display:
transform_dash: false transform_dash: false
break_phrase: false break_phrase: false
plugin_id: node_type plugin_id: node_type
provider: node
label: test_node_view label: test_node_view
module: views module: views
id: test_node_view id: test_node_view

View File

@ -76,7 +76,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
link_to_node: false link_to_node: false
plugin_id: node plugin_id: node
provider: node
filters: filters:
status_extra: status_extra:
id: status_extra id: status_extra
@ -114,7 +113,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: node_status plugin_id: node_status
provider: node
sorts: sorts:
nid: nid:
id: nid id: nid
@ -122,7 +120,6 @@ display:
field: nid field: nid
order: ASC order: ASC
plugin_id: standard plugin_id: standard
provider: views
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:

View File

@ -32,7 +32,6 @@ display:
field: id field: id
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views
title: 'Test serialize' title: 'Test serialize'
arguments: { } arguments: { }
rest_export_1: rest_export_1:
@ -40,7 +39,6 @@ display:
id: rest_export_1 id: rest_export_1
display_title: serializer display_title: serializer
position: null position: null
provider: rest
display_options: display_options:
defaults: defaults:
access: false access: false

View File

@ -32,7 +32,6 @@ display:
field: name field: name
label: '' label: ''
plugin_id: string plugin_id: string
provider: views_test_data
nothing: nothing:
id: nothing id: nothing
table: views table: views
@ -46,13 +45,11 @@ display:
alter_text: true alter_text: true
text: TEST text: TEST
plugin_id: custom plugin_id: custom
provider: views
created: created:
id: created id: created
table: views_test_data table: views_test_data
field: created field: created
plugin_id: date plugin_id: date
provider: views_test_data
sorts: sorts:
created: created:
id: created id: created
@ -60,7 +57,6 @@ display:
field: created field: created
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views_test_data
title: 'Test serialize' title: 'Test serialize'
arguments: { } arguments: { }
rest_export_1: rest_export_1:
@ -68,7 +64,6 @@ display:
id: rest_export_1 id: rest_export_1
display_title: serializer display_title: serializer
position: null position: null
provider: rest
display_options: display_options:
defaults: defaults:
access: false access: false
@ -86,7 +81,6 @@ display:
id: rest_export_2 id: rest_export_2
display_title: 'serialize - access denied' display_title: 'serialize - access denied'
position: null position: null
provider: rest
display_options: display_options:
defaults: defaults:
access: false access: false

View File

@ -31,7 +31,6 @@ display:
table: node table: node
field: nid field: nid
plugin_id: numeric plugin_id: numeric
provider: node
body: body:
id: body id: body
table: node__body table: node__body
@ -94,7 +93,6 @@ display:
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
plugin_id: field plugin_id: field
provider: field
title: 'Test serialize' title: 'Test serialize'
arguments: { } arguments: { }
rest_export_1: rest_export_1:
@ -102,7 +100,6 @@ display:
id: rest_export_1 id: rest_export_1
display_title: serializer display_title: serializer
position: null position: null
provider: rest
display_options: display_options:
defaults: defaults:
access: false access: false

View File

@ -45,7 +45,6 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
link_to_node: true link_to_node: true
provider: node
timestamp: timestamp:
id: timestamp id: timestamp
table: node_counter table: node_counter
@ -97,7 +96,6 @@ display:
date_format: html_year date_format: html_year
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
provider: views
totalcount: totalcount:
id: totalcount id: totalcount
table: node_counter table: node_counter
@ -155,7 +153,6 @@ display:
format_plural_plural: '@count' format_plural_plural: '@count'
prefix: '' prefix: ''
suffix: '' suffix: ''
provider: views
daycount: daycount:
id: daycount id: daycount
table: node_counter table: node_counter
@ -213,7 +210,6 @@ display:
format_plural_plural: '@count' format_plural_plural: '@count'
prefix: '' prefix: ''
suffix: '' suffix: ''
provider: views
filters: filters:
status: status:
value: true value: true
@ -223,14 +219,12 @@ display:
expose: expose:
operator: false operator: false
group: true group: true
provider: views
sorts: sorts:
created: created:
id: created id: created
table: node_field_data table: node_field_data
field: created field: created
order: DESC order: DESC
provider: views
page_1: page_1:
display_plugin: page display_plugin: page
id: page_1 id: page_1

View File

@ -27,15 +27,12 @@ display:
distinct: false distinct: false
replica: false replica: false
query_tags: { } query_tags: { }
provider: views
access: access:
type: none type: none
options: { } options: { }
provider: views
cache: cache:
type: none type: none
options: { } options: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -46,7 +43,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: mini type: mini
options: options:
@ -65,7 +61,6 @@ display:
tags: tags:
previous: previous:
next: next:
provider: views
sorts: sorts:
sticky: sticky:
id: sticky id: sticky
@ -79,7 +74,6 @@ display:
exposed: false exposed: false
expose: expose:
label: '' label: ''
provider: views
created: created:
id: created id: created
table: taxonomy_index table: taxonomy_index
@ -93,7 +87,6 @@ display:
expose: expose:
label: '' label: ''
granularity: second granularity: second
provider: views
arguments: arguments:
tid: tid:
id: tid id: tid
@ -102,9 +95,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- taxonomy
default_action: ignore default_action: ignore
exception: exception:
value: all value: all
@ -139,7 +129,6 @@ display:
require_value: false require_value: false
reduce_duplicates: false reduce_duplicates: false
plugin_id: taxonomy_index_tid plugin_id: taxonomy_index_tid
provider: taxonomy
filters: filters:
langcode: langcode:
id: langcode id: langcode
@ -148,9 +137,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: in operator: in
value: value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***' '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
@ -182,7 +168,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: language plugin_id: language
provider: views
style: style:
type: default type: default
options: options:
@ -190,13 +175,11 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false uses_fields: false
provider: views
row: row:
type: 'entity:node' type: 'entity:node'
options: options:
view_mode: teaser view_mode: teaser
comments: false comments: false
provider: views
header: header:
entity_taxonomy_term: entity_taxonomy_term:
id: entity_taxonomy_term id: entity_taxonomy_term
@ -211,7 +194,6 @@ display:
view_mode: full view_mode: full
bypass_access: false bypass_access: false
plugin_id: entity plugin_id: entity
provider: views
footer: { } footer: { }
empty: { } empty: { }
relationships: { } relationships: { }
@ -227,7 +209,6 @@ display:
query: query:
type: views_query type: views_query
options: { } options: { }
provider: views
path: taxonomy/term/% path: taxonomy/term/%
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -240,7 +221,6 @@ display:
query: query:
type: views_query type: views_query
options: { } options: { }
provider: views
pager: pager:
type: full type: full
options: options:
@ -262,7 +242,6 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
path: taxonomy/term/%/feed path: taxonomy/term/%/feed
displays: displays:
page: page page: page
@ -273,12 +252,10 @@ display:
description: '' description: ''
grouping: { } grouping: { }
uses_fields: false uses_fields: false
provider: views
row: row:
type: node_rss type: node_rss
options: options:
relationship: none relationship: none
view_mode: default view_mode: default
provider: views
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -42,7 +42,6 @@ class TaxonomyTerm extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
unset($display_options['fields']); unset($display_options['fields']);
@ -51,7 +50,6 @@ class TaxonomyTerm extends WizardPluginBase {
$display_options['fields']['name']['id'] = 'name'; $display_options['fields']['name']['id'] = 'name';
$display_options['fields']['name']['table'] = 'taxonomy_term_field_data'; $display_options['fields']['name']['table'] = 'taxonomy_term_field_data';
$display_options['fields']['name']['field'] = 'name'; $display_options['fields']['name']['field'] = 'name';
$display_options['fields']['name']['provider'] = 'taxonomy';
$display_options['fields']['name']['label'] = ''; $display_options['fields']['name']['label'] = '';
$display_options['fields']['name']['alter']['alter_text'] = 0; $display_options['fields']['name']['alter']['alter_text'] = 0;
$display_options['fields']['name']['alter']['make_link'] = 0; $display_options['fields']['name']['alter']['make_link'] = 0;

View File

@ -17,19 +17,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -38,8 +33,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -50,8 +43,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: full type: full
options: options:
@ -73,8 +64,6 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
dependencies: { }
style: style:
type: default type: default
options: options:
@ -82,21 +71,17 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false uses_fields: false
provider: views
dependencies: { }
row: row:
type: 'entity:taxonomy_term' type: 'entity:taxonomy_term'
options: options:
relationship: none relationship: none
view_mode: default view_mode: default
rendering_language: translation_language_renderer rendering_language: translation_language_renderer
provider: views
fields: fields:
name: name:
id: name id: name
table: taxonomy_term_data table: taxonomy_term_data
field: name field: name
provider: taxonomy
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -113,7 +98,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
exclude: false exclude: false
element_type: '' element_type: ''
element_class: '' element_class: ''
@ -140,9 +124,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- taxonomy
default_action: default default_action: default
exception: exception:
value: all value: all
@ -175,6 +156,5 @@ display:
break_phrase: false break_phrase: false
not: false not: false
plugin_id: taxonomy plugin_id: taxonomy
provider: taxonomy
field_langcode: '***LANGUAGE_site_default***' field_langcode: '***LANGUAGE_site_default***'
field_langcode_add_to_query: null field_langcode_add_to_query: null

View File

@ -18,19 +18,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -39,8 +34,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -51,8 +44,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: none type: none
options: options:
@ -67,7 +58,6 @@ display:
id: name id: name
table: taxonomy_term_field_data table: taxonomy_term_field_data
field: name field: name
provider: taxonomy
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -84,7 +74,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies: { }
exclude: false exclude: false
element_type: '' element_type: ''
element_class: '' element_class: ''
@ -105,9 +94,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -137,7 +123,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
sorts: { } sorts: { }
title: 'Name filter page' title: 'Name filter page'
header: { } header: { }
@ -152,7 +137,6 @@ display:
id: page_dc id: page_dc
display_title: 'Description Comida' display_title: 'Description Comida'
position: 3 position: 3
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -166,9 +150,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -198,7 +179,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -213,7 +193,6 @@ display:
id: page_dp id: page_dp
display_title: 'Description Comida' display_title: 'Description Comida'
position: 3 position: 3
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -227,10 +206,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -260,7 +235,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -275,7 +249,6 @@ display:
id: page_nc id: page_nc
display_title: 'Name Comida' display_title: 'Name Comida'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -286,7 +259,6 @@ display:
id: page_np id: page_np
display_title: 'Name Paris' display_title: 'Name Paris'
position: 1 position: 1
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -300,10 +272,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -333,7 +301,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -346,7 +313,6 @@ display:
id: page_fp id: page_fp
display_title: 'Field Paris' display_title: 'Field Paris'
position: 3 position: 3
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -360,10 +326,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
- views
operator: contains operator: contains
value: Paris value: Paris
group: 1 group: 1
@ -393,7 +355,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false
@ -408,7 +369,6 @@ display:
id: page_fc id: page_fc
display_title: 'Field Comida' display_title: 'Field Comida'
position: 3 position: 3
provider: views
display_options: display_options:
field_langcode: '***LANGUAGE_language_content***' field_langcode: '***LANGUAGE_language_content***'
field_langcode_add_to_query: null field_langcode_add_to_query: null
@ -422,9 +382,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
operator: contains operator: contains
value: Comida value: Comida
group: 1 group: 1
@ -454,7 +411,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: string plugin_id: string
provider: views
defaults: defaults:
filters: false filters: false
filter_groups: false filter_groups: false

View File

@ -75,7 +75,6 @@ display:
id: title id: title
table: node_field_data table: node_field_data
field: title field: title
provider: node
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -108,7 +107,6 @@ display:
value: true value: true
table: node_field_data table: node_field_data
field: status field: status
provider: node
id: status id: status
expose: expose:
operator: '0' operator: '0'
@ -157,7 +155,6 @@ display:
hierarchy: true hierarchy: true
error_message: true error_message: true
plugin_id: taxonomy_index_tid plugin_id: taxonomy_index_tid
provider: taxonomy
sorts: { } sorts: { }
header: { } header: { }
footer: { } footer: { }

View File

@ -18,14 +18,12 @@ display:
id: name id: name
table: taxonomy_term_field_data table: taxonomy_term_field_data
plugin_id: taxonomy plugin_id: taxonomy
provider: taxonomy
nid: nid:
field: nid field: nid
id: nid id: nid
relationship: tid_representative relationship: tid_representative
table: node table: node
plugin_id: node plugin_id: node
provider: node
pager: pager:
options: options:
items_per_page: 10 items_per_page: 10
@ -48,7 +46,6 @@ display:
subquery_view: '' subquery_view: ''
table: taxonomy_term_data table: taxonomy_term_data
plugin_id: groupwise_max plugin_id: groupwise_max
provider: views
row: row:
type: fields type: fields
sorts: sorts:
@ -58,7 +55,6 @@ display:
order: DESC order: DESC
table: taxonomy_term_data table: taxonomy_term_data
plugin_id: standard plugin_id: standard
provider: views
style: style:
type: default type: default
title: test_groupwise title: test_groupwise

View File

@ -20,7 +20,6 @@ display:
items_per_page: 25 items_per_page: 25
table: taxonomy_term_data table: taxonomy_term_data
plugin_id: taxonomy plugin_id: taxonomy
provider: taxonomy
tid_1: tid_1:
default_argument_type: fixed default_argument_type: fixed
field: tid field: tid
@ -33,7 +32,6 @@ display:
items_per_page: 25 items_per_page: 25
table: taxonomy_term_data table: taxonomy_term_data
plugin_id: taxonomy plugin_id: taxonomy
provider: taxonomy
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -51,7 +49,6 @@ display:
vids: vids:
tags: false tags: false
plugin_id: node_term_data plugin_id: node_term_data
provider: taxonomy
term_node_tid_1: term_node_tid_1:
field: term_node_tid field: term_node_tid
id: term_node_tid_1 id: term_node_tid_1
@ -60,7 +57,6 @@ display:
vids: vids:
tags: false tags: false
plugin_id: node_term_data plugin_id: node_term_data
provider: taxonomy
sorts: sorts:
nid: nid:
field: nid field: nid
@ -68,7 +64,6 @@ display:
order: DESC order: DESC
table: node table: node
plugin_id: standard plugin_id: standard
provider: views
style: style:
type: default type: default
row: row:

View File

@ -9,17 +9,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -28,7 +25,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -39,7 +35,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: full type: full
options: options:
@ -61,7 +56,6 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
style: style:
type: default type: default
options: options:
@ -69,7 +63,6 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false uses_fields: false
provider: views
row: row:
type: fields type: fields
options: options:
@ -77,13 +70,11 @@ display:
separator: '' separator: ''
hide_empty: false hide_empty: false
default_field_elements: true default_field_elements: true
provider: views
fields: fields:
name: name:
id: name id: name
table: taxonomy_term_data table: taxonomy_term_data
field: name field: name
provider: taxonomy
label: '' label: ''
alter: alter:
alter_text: false alter_text: false
@ -127,7 +118,6 @@ display:
admin_label: Parent admin_label: Parent
required: true required: true
plugin_id: standard plugin_id: standard
provider: views
arguments: { } arguments: { }
label: test_taxonomy_parent label: test_taxonomy_parent
module: views module: views

View File

@ -17,19 +17,14 @@ display:
id: default id: default
display_title: Master display_title: Master
position: 0 position: 0
provider: views
display_options: display_options:
access: access:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
dependencies: { }
cache: cache:
type: none type: none
options: { } options: { }
provider: views
dependencies: { }
query: query:
type: views_query type: views_query
options: options:
@ -38,8 +33,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
dependencies: { }
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -50,8 +43,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
dependencies: { }
pager: pager:
type: full type: full
options: options:
@ -73,8 +64,6 @@ display:
first: '« first' first: '« first'
last: 'last »' last: 'last »'
quantity: 9 quantity: 9
provider: views
dependencies: { }
style: style:
type: default type: default
options: options:
@ -82,8 +71,6 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
uses_fields: false uses_fields: false
provider: views
dependencies: { }
row: row:
type: fields type: fields
options: options:
@ -91,8 +78,6 @@ display:
separator: '' separator: ''
hide_empty: false hide_empty: false
default_field_elements: true default_field_elements: true
provider: views
dependencies: { }
fields: fields:
name: name:
id: name id: name
@ -101,9 +86,6 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- taxonomy
label: Name label: Name
exclude: false exclude: false
alter: alter:
@ -148,7 +130,6 @@ display:
link_to_taxonomy: true link_to_taxonomy: true
convert_spaces: false convert_spaces: false
plugin_id: taxonomy plugin_id: taxonomy
provider: taxonomy
filters: { } filters: { }
sorts: sorts:
tid: tid:
@ -158,15 +139,11 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
dependencies:
module:
- views
order: ASC order: ASC
exposed: false exposed: false
expose: expose:
label: '' label: ''
plugin_id: standard plugin_id: standard
provider: views
header: { } header: { }
footer: { } footer: { }
empty: { } empty: { }

View File

@ -93,7 +93,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
link_to_node: true link_to_node: true
provider: node
filters: filters:
uid_touch_tracker: uid_touch_tracker:
id: uid_touch_tracker id: uid_touch_tracker
@ -133,7 +132,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: tracker_user_uid plugin_id: tracker_user_uid
provider: tracker
arguments: arguments:
uid_touch_tracker: uid_touch_tracker:
id: uid_touch_tracker id: uid_touch_tracker
@ -168,7 +166,6 @@ display:
fail: 'not found' fail: 'not found'
validate_options: { } validate_options: { }
plugin_id: tracker_user_uid plugin_id: tracker_user_uid
provider: tracker
label: 'tracker test' label: 'tracker test'
module: views module: views
id: test_tracker_user_uid id: test_tracker_user_uid

View File

@ -14,10 +14,8 @@ display:
type: perm type: perm
options: options:
perm: 'administer users' perm: 'administer users'
provider: user
cache: cache:
type: none type: none
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -26,7 +24,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -37,7 +34,6 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: full type: full
options: options:
@ -59,7 +55,6 @@ display:
offset: false offset: false
offset_label: Offset offset_label: Offset
quantity: 9 quantity: 9
provider: views
style: style:
type: table type: table
options: options:
@ -133,10 +128,8 @@ display:
responsive: '' responsive: ''
default: created default: created
empty_table: true empty_table: true
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
user_bulk_form: user_bulk_form:
id: user_bulk_form id: user_bulk_form
@ -187,7 +180,6 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
plugin_id: user_bulk_form plugin_id: user_bulk_form
provider: user
name: name:
id: name id: name
table: users_field_data table: users_field_data
@ -241,7 +233,6 @@ display:
anonymous_text: '' anonymous_text: ''
format_username: true format_username: true
plugin_id: user_name plugin_id: user_name
provider: user
status: status:
id: status id: status
table: users_field_data table: users_field_data
@ -295,7 +286,6 @@ display:
type_custom_false: '' type_custom_false: ''
not: '0' not: '0'
plugin_id: boolean plugin_id: boolean
provider: views
rid: rid:
id: rid id: rid
table: users_roles table: users_roles
@ -347,7 +337,6 @@ display:
type: ul type: ul
separator: ', ' separator: ', '
plugin_id: user_roles plugin_id: user_roles
provider: user
created: created:
id: created id: created
table: users_field_data table: users_field_data
@ -400,7 +389,6 @@ display:
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
plugin_id: date plugin_id: date
provider: views
access: access:
id: access id: access
table: users_field_data table: users_field_data
@ -453,7 +441,6 @@ display:
custom_date_format: '' custom_date_format: ''
timezone: '' timezone: ''
plugin_id: date plugin_id: date
provider: views
edit_node: edit_node:
id: edit_node id: edit_node
table: users table: users
@ -504,7 +491,6 @@ display:
hide_alter_empty: true hide_alter_empty: true
text: Edit text: Edit
plugin_id: user_link_edit plugin_id: user_link_edit
provider: user
dropbutton: dropbutton:
id: dropbutton id: dropbutton
table: views table: views
@ -695,7 +681,6 @@ display:
group_items: { } group_items: { }
reduce_duplicates: false reduce_duplicates: false
plugin_id: user_roles plugin_id: user_roles
provider: user
permission: permission:
id: permission id: permission
table: users_roles table: users_roles
@ -736,7 +721,6 @@ display:
group_items: { } group_items: { }
reduce_duplicates: false reduce_duplicates: false
plugin_id: user_permissions plugin_id: user_permissions
provider: user
status: status:
id: status id: status
table: users_field_data table: users_field_data
@ -783,7 +767,6 @@ display:
operator: '=' operator: '='
value: '0' value: '0'
plugin_id: boolean plugin_id: boolean
provider: views
uid_raw: uid_raw:
id: uid_raw id: uid_raw
table: users table: users
@ -823,7 +806,6 @@ display:
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
plugin_id: numeric plugin_id: numeric
provider: views
sorts: sorts:
created: created:
id: created id: created
@ -838,7 +820,6 @@ display:
label: '' label: ''
granularity: second granularity: second
plugin_id: date plugin_id: date
provider: views
title: People title: People
empty: empty:
area_text_custom: area_text_custom:
@ -852,7 +833,6 @@ display:
tokenize: false tokenize: false
content: 'No people available.' content: 'No people available.'
plugin_id: text_custom plugin_id: text_custom
provider: views
use_more: false use_more: false
use_more_always: false use_more_always: false
use_more_text: more use_more_text: more

View File

@ -14,11 +14,9 @@ display:
type: perm type: perm
options: options:
perm: 'access content' perm: 'access content'
provider: user
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -27,7 +25,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -38,19 +35,15 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: some type: some
options: options:
items_per_page: 5 items_per_page: 5
offset: 0 offset: 0
provider: views
style: style:
type: html_list type: html_list
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
name: name:
id: name id: name
@ -162,7 +155,6 @@ display:
id: block_1 id: block_1
display_title: 'Who''s new' display_title: 'Who''s new'
position: 1 position: 1
provider: views
display_options: display_options:
display_description: 'A list of new users' display_description: 'A list of new users'
block_description: 'Who''s new' block_description: 'Who''s new'

View File

@ -14,11 +14,9 @@ display:
type: perm type: perm
options: options:
perm: 'access user profiles' perm: 'access user profiles'
provider: user
cache: cache:
type: none type: none
options: { } options: { }
provider: views
query: query:
type: views_query type: views_query
options: options:
@ -27,7 +25,6 @@ display:
replica: false replica: false
query_comment: false query_comment: false
query_tags: { } query_tags: { }
provider: views
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -38,13 +35,11 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
provider: views
pager: pager:
type: some type: some
options: options:
items_per_page: 10 items_per_page: 10
offset: 0 offset: 0
provider: views
style: style:
type: html_list type: html_list
options: options:
@ -54,10 +49,8 @@ display:
type: ul type: ul
wrapper_class: item-list wrapper_class: item-list
class: '' class: ''
provider: views
row: row:
type: fields type: fields
provider: views
fields: fields:
name: name:
id: name id: name
@ -159,7 +152,6 @@ display:
expose: expose:
label: '' label: ''
granularity: second granularity: second
provider: views
plugin_id: date plugin_id: date
title: 'Who''s online' title: 'Who''s online'
header: header:
@ -193,7 +185,6 @@ display:
id: who_s_online_block id: who_s_online_block
display_title: 'Who''s online' display_title: 'Who''s online'
position: 1 position: 1
provider: views
display_options: display_options:
block_description: 'Who''s online' block_description: 'Who''s online'
display_description: 'A list of users that are currently logged in.' display_description: 'A list of users that are currently logged in.'

View File

@ -64,7 +64,6 @@ class Users extends WizardPluginBase {
// Add permission-based access control. // Add permission-based access control.
$display_options['access']['type'] = 'perm'; $display_options['access']['type'] = 'perm';
$display_options['access']['provider'] = 'user';
$display_options['access']['perm'] = 'access user profiles'; $display_options['access']['perm'] = 'access user profiles';
// Remove the default fields, since we are customizing them here. // Remove the default fields, since we are customizing them here.
@ -74,7 +73,6 @@ class Users extends WizardPluginBase {
$display_options['fields']['name']['id'] = 'name'; $display_options['fields']['name']['id'] = 'name';
$display_options['fields']['name']['table'] = 'users_field_data'; $display_options['fields']['name']['table'] = 'users_field_data';
$display_options['fields']['name']['field'] = 'name'; $display_options['fields']['name']['field'] = 'name';
$display_options['fields']['name']['provider'] = 'user';
$display_options['fields']['name']['label'] = ''; $display_options['fields']['name']['label'] = '';
$display_options['fields']['name']['alter']['alter_text'] = 0; $display_options['fields']['name']['alter']['alter_text'] = 0;
$display_options['fields']['name']['alter']['make_link'] = 0; $display_options['fields']['name']['alter']['make_link'] = 0;

View File

@ -128,7 +128,6 @@ display:
expose: expose:
label: '' label: ''
plugin_id: standard plugin_id: standard
provider: views
human_name: test_filter_permission human_name: test_filter_permission
module: views module: views
id: test_filter_permission id: test_filter_permission

View File

@ -19,14 +19,12 @@ display:
id: name id: name
table: users_field_data table: users_field_data
plugin_id: user_name plugin_id: user_name
provider: user
nid: nid:
field: nid field: nid
id: nid id: nid
relationship: uid_representative relationship: uid_representative
table: node table: node
plugin_id: node plugin_id: node
provider: node
filters: filters:
status: status:
expose: expose:
@ -37,7 +35,6 @@ display:
table: users_field_data table: users_field_data
value: '1' value: '1'
plugin_id: boolean plugin_id: boolean
provider: views
pager: pager:
options: options:
items_per_page: '10' items_per_page: '10'
@ -60,7 +57,6 @@ display:
subquery_view: '' subquery_view: ''
table: users table: users
plugin_id: groupwise_max plugin_id: groupwise_max
provider: views
row: row:
type: fields type: fields
sorts: sorts:
@ -70,7 +66,6 @@ display:
order: DESC order: DESC
table: users_field_data table: users_field_data
plugin_id: date plugin_id: date
provider: views
style: style:
type: default type: default
title: test_groupwise_user title: test_groupwise_user

View File

@ -16,7 +16,6 @@ display:
must_not_be: '0' must_not_be: '0'
style_plugin: default_summary style_plugin: default_summary
table: views table: views
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -37,7 +36,6 @@ display:
id: title id: title
link_to_node: '0' link_to_node: '0'
table: node_field_data table: node_field_data
provider: node
pager: pager:
options: options:
id: '0' id: '0'

View File

@ -20,13 +20,11 @@ display:
table: users table: users
field: user_bulk_form field: user_bulk_form
plugin_id: user_bulk_form plugin_id: user_bulk_form
provider: user
name: name:
id: name id: name
table: users_field_data table: users_field_data
field: name field: name
plugin_id: user_name plugin_id: user_name
provider: user
sorts: sorts:
uid: uid:
id: uid id: uid
@ -34,7 +32,6 @@ display:
field: uid field: uid
order: ASC order: ASC
plugin_id: user plugin_id: user
provider: views
filters: filters:
status: status:
id: status id: status
@ -43,7 +40,6 @@ display:
operator: '=' operator: '='
value: '1' value: '1'
plugin_id: boolean plugin_id: boolean
provider: views
page_1: page_1:
display_plugin: page display_plugin: page
id: page_1 id: page_1

View File

@ -22,13 +22,11 @@ display:
id: uid id: uid
table: users table: users
field: uid field: uid
provider: user
changed: changed:
id: changed id: changed
table: users_field_data table: users_field_data
field: changed field: changed
label: Updated date label: Updated date
provider: user
date_format: html_date date_format: html_date
filters: { } filters: { }
display_plugin: default display_plugin: default

View File

@ -45,7 +45,6 @@ display:
link_to_user: '1' link_to_user: '1'
overwrite_anonymous: '0' overwrite_anonymous: '0'
plugin_id: string plugin_id: string
provider: views
data: data:
id: data id: data
table: users table: users
@ -108,7 +107,6 @@ display:
operator: '0' operator: '0'
group: '1' group: '1'
plugin_id: numeric plugin_id: numeric
provider: user
sorts: sorts:
created: created:
id: created id: created
@ -116,7 +114,6 @@ display:
field: created field: created
order: DESC order: DESC
plugin_id: date plugin_id: date
provider: views
label: test_user_data label: test_user_data
module: views module: views
id: test_user_data id: test_user_data

View File

@ -22,7 +22,6 @@ display:
id: uid id: uid
table: users table: users
field: uid field: uid
provider: user
filters: filters:
uid: uid:
id: uid id: uid
@ -37,7 +36,6 @@ display:
remember_roles: remember_roles:
authenticated: authenticated authenticated: authenticated
anonymous: 0 anonymous: 0
provider: user
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -37,7 +37,6 @@ display:
overwrite_anonymous: '0' overwrite_anonymous: '0'
table: users_field_data table: users_field_data
plugin_id: user_name plugin_id: user_name
provider: user
title: title:
alter: alter:
absolute: '0' absolute: '0'
@ -56,7 +55,6 @@ display:
link_to_node: '1' link_to_node: '1'
table: node_field_data table: node_field_data
plugin_id: node plugin_id: node
provider: node
uid: uid:
alter: alter:
absolute: '0' absolute: '0'
@ -81,7 +79,6 @@ display:
link_to_user: '1' link_to_user: '1'
table: users table: users
plugin_id: user plugin_id: user
provider: user
pager: pager:
options: options:
items_per_page: '10' items_per_page: '10'

View File

@ -11,7 +11,6 @@ display:
table: users table: users
field: uid field: uid
plugin_id: user plugin_id: user
provider: user
arguments: arguments:
uid: uid:
id: uid id: uid
@ -20,7 +19,6 @@ display:
title_enable: true title_enable: true
title: '%1' title: '%1'
plugin_id: user_uid plugin_id: user_uid
provider: user
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -18,7 +18,6 @@ display:
validate: validate:
type: entity:user type: entity:user
plugin_id: 'null' plugin_id: 'null'
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:

View File

@ -18,7 +18,6 @@ display:
validate: validate:
type: user_name type: user_name
plugin_id: 'null' plugin_id: 'null'
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:

View File

@ -81,7 +81,6 @@ display:
anonymous_text: '' anonymous_text: ''
format_username: '1' format_username: '1'
plugin_id: user_name plugin_id: user_name
provider: user
rid: rid:
id: rid id: rid
table: users_roles table: users_roles
@ -133,7 +132,6 @@ display:
type: separator type: separator
separator: '' separator: ''
plugin_id: user_roles plugin_id: user_roles
provider: user
filters: filters:
status: status:
value: '1' value: '1'
@ -144,7 +142,6 @@ display:
operator: '0' operator: '0'
group: '1' group: '1'
plugin_id: boolean plugin_id: boolean
provider: views
sorts: { } sorts: { }
title: test_user_role title: test_user_role
page_1: page_1:

View File

@ -31,7 +31,6 @@ display:
overwrite_anonymous: '0' overwrite_anonymous: '0'
table: users_field_data table: users_field_data
plugin_id: user_name plugin_id: user_name
provider: user
pager: pager:
type: full type: full
query: query:

View File

@ -24,12 +24,6 @@ views_display:
label: 'Pager type' label: 'Pager type'
options: options:
type: views.pager.[%parent.type] type: views.pager.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
exposed_form: exposed_form:
type: mapping type: mapping
label: 'Exposed form' label: 'Exposed form'
@ -40,12 +34,6 @@ views_display:
options: options:
label: 'Options' label: 'Options'
type: views.exposed_form.[%parent.type] type: views.exposed_form.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
access: access:
type: mapping type: mapping
label: 'Access' label: 'Access'
@ -55,12 +43,6 @@ views_display:
label: 'Access type' label: 'Access type'
options: options:
type: views.access.[%parent.type] type: views.access.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
cache: cache:
type: views.cache.[type] type: views.cache.[type]
empty: empty:
@ -105,12 +87,6 @@ views_display:
label: 'Type' label: 'Type'
options: options:
type: views.style.[%parent.type] type: views.style.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
row: row:
type: mapping type: mapping
label: 'Row' label: 'Row'
@ -120,12 +96,6 @@ views_display:
label: 'Row type' label: 'Row type'
options: options:
type: views.row.[%parent.type] type: views.row.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
query: query:
type: mapping type: mapping
label: 'Query' label: 'Query'
@ -135,12 +105,6 @@ views_display:
label: 'Query type' label: 'Query type'
options: options:
type: views.query.[%parent.type] type: views.query.[%parent.type]
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
defaults: defaults:
type: mapping type: mapping
label: 'Defaults' label: 'Defaults'
@ -355,12 +319,6 @@ views_handler:
admin_label: admin_label:
type: label type: label
label: 'A string to identify the handler instance in the admin UI.' label: 'A string to identify the handler instance in the admin UI.'
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'
views_argument: views_argument:
type: views_handler type: views_handler
@ -451,10 +409,6 @@ views_argument:
plugin_id: plugin_id:
type: string type: string
label: 'Plugin ID' label: 'Plugin ID'
provider:
type: string
label: 'Provider'
views_exposed_form: views_exposed_form:
type: mapping type: mapping
@ -611,9 +565,6 @@ views_field:
plugin_id: plugin_id:
type: string type: string
label: 'Plugin ID' label: 'Plugin ID'
provider:
type: string
label: 'Provider'
views_pager: views_pager:
type: mapping type: mapping
@ -802,9 +753,6 @@ views_filter:
plugin_id: plugin_id:
type: string type: string
label: 'Plugin ID' label: 'Plugin ID'
provider:
type: string
label: 'Provider'
views_filter_group_items: views_filter_group_items:
type: sequence type: sequence
@ -849,9 +797,6 @@ views_relationship:
required: required:
type: boolean type: boolean
label: 'Require this relationship' label: 'Require this relationship'
provider:
type: string
label: 'Provider'
views_query: views_query:
type: mapping type: mapping
@ -898,9 +843,3 @@ views_cache:
type: type:
type: string type: string
label: 'Cache type' label: 'Cache type'
provider:
type: string
label: 'Provider'
dependencies:
type: config_dependencies
label: 'Dependencies'

View File

@ -112,8 +112,5 @@ views.view.*:
position: position:
type: integer type: integer
label: 'Position' label: 'Position'
provider:
type: string
label: 'Display provider module'
display_options: display_options:
type: views.display.[%parent.display_plugin] type: views.display.[%parent.display_plugin]

View File

@ -199,7 +199,6 @@ class View extends ConfigEntityBase implements ViewStorageInterface {
// @see \Drupal\Core\StringTranslation\TranslationWrapper // @see \Drupal\Core\StringTranslation\TranslationWrapper
'display_title' => (string) $title, 'display_title' => (string) $title,
'position' => $id === 'default' ? 0 : count($this->display), 'position' => $id === 'default' ? 0 : count($this->display),
'provider' => $plugin['provider'],
'display_options' => array(), 'display_options' => array(),
); );
@ -248,47 +247,32 @@ class View extends ConfigEntityBase implements ViewStorageInterface {
// Ensure that the view is dependant on the module that implements the view. // Ensure that the view is dependant on the module that implements the view.
$this->addDependency('module', $this->module); $this->addDependency('module', $this->module);
// Ensure that the view is dependent on the module that provides the schema
// for the base table.
$schema = $this->drupalGetSchema($this->base_table);
// @todo Entity base tables are no longer registered in hook_schema(). Once
// we automate the views data for entity types add the entity type
// type provider as a dependency. See https://drupal.org/node/1740492.
if ($schema && $this->module != $schema['module']) {
$this->addDependency('module', $schema['module']);
}
$handler_types = array(); $executable = $this->getExecutable();
foreach (Views::getHandlerTypes() as $type) { $executable->initDisplay();
$handler_types[] = $type['plural']; $handler_types = array_keys(Views::getHandlerTypes());
}
foreach ($this->get('display') as $display) { foreach ($executable->displayHandlers as $display) {
// Add dependency for the display itself. // Add dependency for the display itself.
if (isset($display['provider'])) { /** @var \Drupal\views\Plugin\views\display\DisplayPluginBase $display */
$this->addDependency('module', $display['provider']); $this->addDependency('module', $display->getProvider());
}
// Collect all dependencies of all handlers. // Collect all dependencies of all handlers.
foreach ($handler_types as $handler_type) { foreach ($handler_types as $handler_type) {
if (!empty($display['display_options'][$handler_type])) { foreach ($display->getHandlers($handler_type) as $handler) {
foreach ($display['display_options'][$handler_type] as $handler) { $this->calculatePluginDependencies($handler);
// Add the provider as dependency.
if (isset($handler['provider'])) {
$this->addDependency('module', $handler['provider']);
}
// Add the additional dependencies from the handler configuration.
if (!empty($handler['dependencies'])) {
$this->addDependencies($handler['dependencies']);
}
} }
} }
}
// Collect all dependencies of plugins. // Collect all dependencies of plugins.
foreach (Views::getPluginTypes('plugin') as $plugin_type) { foreach (Views::getPluginTypes('plugin') as $plugin_type) {
if (!empty($display['display_options'][$plugin_type]['options']['dependencies'])) { // Argument validator/default plugins do not return a plugin.
$this->addDependencies($display['display_options'][$plugin_type]['options']['dependencies']); // @todo https://www.drupal.org/node/2368767 Calculate argument
// validator/default plugin dependencies.
if (!$plugin = $display->getPlugin($plugin_type)) {
continue;
} }
$this->calculatePluginDependencies($plugin);
} }
} }
@ -447,11 +431,4 @@ class View extends ConfigEntityBase implements ViewStorageInterface {
$this->set('display', $displays); $this->set('display', $displays);
} }
/**
* Wraps drupal_get_schema().
*/
protected function drupalGetSchema($table = NULL, $rebuild = FALSE) {
return drupal_get_schema($table, $rebuild);
}
} }

View File

@ -129,6 +129,7 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
// Setup base information of the views data. // Setup base information of the views data.
$data[$base_table]['table']['entity type'] = $this->entityType->id(); $data[$base_table]['table']['entity type'] = $this->entityType->id();
$data[$base_table]['table']['group'] = $this->entityType->getLabel(); $data[$base_table]['table']['group'] = $this->entityType->getLabel();
$data[$base_table]['table']['provider'] = $this->entityType->getProvider();
$data[$base_table]['table']['base'] = [ $data[$base_table]['table']['base'] = [
'field' => $base_field, 'field' => $base_field,
'title' => $this->entityType->getLabel(), 'title' => $this->entityType->getLabel(),
@ -157,10 +158,12 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac
]; ];
$data[$data_table]['table']['entity type'] = $this->entityType->id(); $data[$data_table]['table']['entity type'] = $this->entityType->id();
$data[$data_table]['table']['group'] = $this->entityType->getLabel(); $data[$data_table]['table']['group'] = $this->entityType->getLabel();
$data[$data_table]['table']['provider'] = $this->entityType->getProvider();
} }
if ($revision_table) { if ($revision_table) {
$data[$revision_table]['table']['entity type'] = $this->entityType->id(); $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']['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( $data[$revision_table]['table']['base'] = array(
'field' => $revision_field, 'field' => $revision_field,
'title' => $this->t('@entity_type revisions', array('@entity_type' => $this->entityType->getLabel())), 'title' => $this->t('@entity_type revisions', array('@entity_type' => $this->entityType->getLabel())),

View File

@ -7,6 +7,7 @@
namespace Drupal\views\Plugin\views; namespace Drupal\views\Plugin\views;
use Drupal\Component\Utility\String;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
/** /**
@ -20,10 +21,7 @@ trait BrokenHandlerTrait {
* @see \Drupal\views\Plugin\views\PluginBase::defineOptions(). * @see \Drupal\views\Plugin\views\PluginBase::defineOptions().
*/ */
public function adminLabel($short = FALSE) { public function adminLabel($short = FALSE) {
$args = array( return t('Broken/missing handler');
'@module' => $this->definition['original_configuration']['provider'],
);
return t('Broken/missing handler (Module: @module) …', $args);
} }
/** /**
@ -60,11 +58,11 @@ trait BrokenHandlerTrait {
public function buildOptionsForm(&$form, FormStateInterface $form_state) { public function buildOptionsForm(&$form, FormStateInterface $form_state) {
$description_top = t('The handler for this item is broken or missing. The following details are available:'); $description_top = t('The handler for this item is broken or missing. The following details are available:');
$items = array( foreach ($this->definition['original_configuration'] as $key => $value) {
t('Module: @module', array('@module' => $this->definition['original_configuration']['provider'])), if (is_scalar($value)) {
t('Table: @table', array('@table' => $this->definition['original_configuration']['table'])), $items[] = String::format('@key: @value', array('@key' => $key, '@value' => $value));
t('Field: @field', array('@field' => $this->definition['original_configuration']['field'])), }
); }
$description_bottom = t('Enabling the appropriate module will may solve this issue. Otherwise, check to see if there is a module update available.'); $description_bottom = t('Enabling the appropriate module will may solve this issue. Otherwise, check to see if there is a module update available.');
@ -97,4 +95,15 @@ trait BrokenHandlerTrait {
return TRUE; return TRUE;
} }
/**
* Gets dependencies for a broken handler.
*
* @return array
*
* @see \Drupal\views\Plugin\views\PluginBase::calculateDependencies().
*/
public function calculateDependencies() {
return [];
}
} }

View File

@ -165,7 +165,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
$options['relationship'] = array('default' => 'none'); $options['relationship'] = array('default' => 'none');
$options['group_type'] = array('default' => 'group'); $options['group_type'] = array('default' => 'group');
$options['admin_label'] = array('default' => ''); $options['admin_label'] = array('default' => '');
$options['dependencies'] = array('default' => array());
return $options; return $options;
} }

View File

@ -7,6 +7,7 @@
namespace Drupal\views\Plugin\views; namespace Drupal\views\Plugin\views;
use Drupal\Component\Plugin\DependentPluginInterface;
use Drupal\Component\Utility\String; use Drupal\Component\Utility\String;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Language\LanguageInterface;
@ -42,7 +43,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* *
* @ingroup views_plugins * @ingroup views_plugins
*/ */
abstract class PluginBase extends ComponentPluginBase implements ContainerFactoryPluginInterface, ViewsPluginInterface { abstract class PluginBase extends ComponentPluginBase implements ContainerFactoryPluginInterface, ViewsPluginInterface, DependentPluginInterface {
/** /**
* Include negotiated languages when listing languages. * Include negotiated languages when listing languages.
@ -386,8 +387,16 @@ abstract class PluginBase extends ComponentPluginBase implements ContainerFactor
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getDependencies() { public function calculateDependencies() {
return array(); return [];
}
/**
* {@inheritdoc}
*/
public function getProvider() {
$definition = $this->getPluginDefinition();
return $definition['provider'];
} }
/** /**

View File

@ -20,14 +20,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface { interface ViewsPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
/** /**
* Returns an array of module dependencies for this plugin. * Returns the plugin provider.
* *
* Dependencies are a list of module names, which might depend on the * @return string
* configuration.
*
* @return array
*/ */
public function getDependencies(); public function getProvider();
/** /**
* Return the human readable name of the display. * Return the human readable name of the display.

View File

@ -908,7 +908,9 @@ abstract class DisplayPluginBase extends PluginBase {
$types = ViewExecutable::getHandlerTypes(); $types = ViewExecutable::getHandlerTypes();
$plural = $types[$type]['plural']; $plural = $types[$type]['plural'];
foreach ($this->getOption($plural) as $id => $info) { // Cast to an array so that if the display does not have any handlers of
// this type there is no PHP error.
foreach ((array) $this->getOption($plural) as $id => $info) {
// If this is during form submission and there are temporary options // If this is during form submission and there are temporary options
// which can only appear if the view is in the edit cache, use those // which can only appear if the view is in the edit cache, use those
// options instead. This is used for AJAX multi-step stuff. // options instead. This is used for AJAX multi-step stuff.
@ -1988,7 +1990,6 @@ abstract class DisplayPluginBase extends PluginBase {
$plugin_options = array( $plugin_options = array(
'type' => $type, 'type' => $type,
'options' => $plugin->options, 'options' => $plugin->options,
'provider' => $plugin->definition['provider']
); );
$this->setOption($plugin_type, $plugin_options); $this->setOption($plugin_type, $plugin_options);
if ($plugin->usesOptions()) { if ($plugin->usesOptions()) {

View File

@ -117,6 +117,21 @@ abstract class QueryPluginBase extends PluginBase {
return $this->t('Settings'); return $this->t('Settings');
} }
/**
* {@inheritdoc}
*/
public function calculateDependencies() {
$dependencies = [];
foreach ($this->getEntityTableInfo() as $entity_type => $info) {
if (!empty($info['provider'])) {
$dependencies['module'][] = $info['provider'];
}
}
return $dependencies;
}
/** /**
* Set a LIMIT on the query, specifying a maximum number of results. * Set a LIMIT on the query, specifying a maximum number of results.
*/ */
@ -260,9 +275,15 @@ abstract class QueryPluginBase extends PluginBase {
'entity_type' => $base_table_data['table']['entity type'], 'entity_type' => $base_table_data['table']['entity type'],
'revision' => FALSE, 'revision' => FALSE,
); );
// Include the entity provider.
if (!empty($table_data['table']['provider'])) {
$entity_tables[$table_data['table']['entity type']]['provider'] = $table_data['table']['provider'];
}
} }
// Include all relationships. // Include all relationships.
foreach ($this->view->relationship as $relationship_id => $relationship) { foreach ((array) $this->view->relationship as $relationship_id => $relationship) {
$table_data = $views_data->get($relationship->definition['base']); $table_data = $views_data->get($relationship->definition['base']);
if (isset($table_data['table']['entity type'])) { if (isset($table_data['table']['entity type'])) {
$entity_tables[$table_data['table']['entity type']] = array( $entity_tables[$table_data['table']['entity type']] = array(
@ -272,6 +293,11 @@ abstract class QueryPluginBase extends PluginBase {
'entity_type' => $table_data['table']['entity type'], 'entity_type' => $table_data['table']['entity type'],
'revision' => FALSE, 'revision' => FALSE,
); );
// Include the entity provider.
if (!empty($table_data['table']['provider'])) {
$entity_tables[$table_data['table']['entity type']]['provider'] = $table_data['table']['provider'];
}
} }
} }

View File

@ -164,6 +164,17 @@ abstract class RelationshipPluginBase extends HandlerBase {
} }
} }
/**
* {@inheritdoc}
*/
public function calculateDependencies() {
// Add the provider of the relationship's base table to the dependencies.
$table_data = $this->getViewsData()->get($this->definition['base']);
return [
'module' => [$table_data['table']['provider']],
];
}
} }
/** /**

View File

@ -843,8 +843,6 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
// Add default options array to each plugin type. // Add default options array to each plugin type.
foreach ($display_options as &$options) { foreach ($display_options as &$options) {
$options['options'] = array(); $options['options'] = array();
$options['provider'] = 'views';
$options['dependencies'] = array();
} }
// Add a least one field so the view validates and the user has a preview. // Add a least one field so the view validates and the user has a preview.
@ -870,9 +868,6 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
// Load the plugin ID and module. // Load the plugin ID and module.
$base_field = $data['table']['base']['field']; $base_field = $data['table']['base']['field'];
$display_options['fields'][$base_field]['plugin_id'] = $data[$base_field]['field']['id']; $display_options['fields'][$base_field]['plugin_id'] = $data[$base_field]['field']['id'];
if ($definition = Views::pluginManager('field')->getDefinition($display_options['fields'][$base_field]['plugin_id'], FALSE)) {
$display_options['fields'][$base_field]['provider'] = isset($definition['provider']) ? $definition['provider'] : 'views';
}
return $display_options; return $display_options;
} }

View File

@ -7,7 +7,8 @@
namespace Drupal\views\Tests\Entity; namespace Drupal\views\Tests\Entity;
use Drupal\views\Tests\ViewTestBase; use Drupal\Component\Utility\Unicode;
use Drupal\views\Tests\ViewUnitTestBase;
use Drupal\views\Views; use Drupal\views\Views;
/** /**
@ -15,56 +16,93 @@ use Drupal\views\Views;
* *
* @group views * @group views
*/ */
class ViewEntityDependenciesTest extends ViewTestBase { class ViewEntityDependenciesTest extends ViewUnitTestBase {
/** /**
* Views used by this test. * Views used by this test.
* *
* @var array * @var array
*/ */
public static $testViews = array('test_field_get_entity'); public static $testViews = ['test_field_get_entity', 'test_relationship_dependency', 'test_plugin_dependencies'];
/** /**
* Modules to enable. * Modules to enable.
* *
* @var array * @var array
*/ */
public static $modules = array('node', 'comment'); public static $modules = ['node', 'comment', 'user', 'field', 'text', 'entity_reference'];
/** /**
* Tests the calculateDependencies method. * Tests the calculateDependencies method.
*/ */
public function testCalculateDependencies() { public function testCalculateDependencies() {
// The view is a view of comments, their nodes and their authors, so there
// are three layers of entities. $comment_type = entity_create('comment_type', array(
$account = entity_create('user', array('name' => $this->randomMachineName(), 'bundle' => 'user')); 'id' => 'comment',
$account->save(); 'label' => 'Comment settings',
$this->drupalCreateContentType(array('type' => 'page')); 'description' => 'Comment settings',
$this->container->get('comment.manager')->addDefaultField('node', 'page'); 'target_entity_type_id' => 'node',
));
$comment_type->save();
$content_type = entity_create('node_type', array(
'type' => $this->randomMachineName(),
'name' => $this->randomString(),
));
$content_type->save();
$field_storage = entity_create('field_storage_config', array(
'field_name' => Unicode::strtolower($this->randomMachineName()),
'entity_type' => 'node',
'type' => 'comment',
));
$field_storage->save();
entity_create('field_config', array(
'field_storage' => $field_storage,
'bundle' => $content_type->id(),
'label' => $this->randomMachineName() . '_label',
'description' => $this->randomMachineName() . '_description',
'settings' => array(
'comment_type' => $comment_type->id(),
),
))->save();
// Force a flush of the in-memory storage. // Force a flush of the in-memory storage.
$this->container->get('views.views_data')->clear(); $this->container->get('views.views_data')->clear();
$node = entity_create('node', array('uid' => $account->id(), 'type' => 'page')); $expected = [];
$node->save(); $expected['test_field_get_entity'] = [
$comment = entity_create('comment', array( 'module' => [
'uid' => $account->id(),
'entity_id' => $node->id(),
'entity_type' => 'node',
'field_name' => 'comment'
));
$comment->save();
$view = Views::getView('test_field_get_entity');
$expected_dependencies = array(
'module' => array(
'comment', 'comment',
'node', 'node',
'user', 'user',
) ]
); ];
$dependencies = $view->calculateDependencies(); // Tests dependencies of relationships.
$this->assertEqual($expected_dependencies, $dependencies); $expected['test_relationship_dependency'] = [
'module' => [
'comment',
'node',
'user',
]
];
$expected['test_plugin_dependencies'] = [
'module' => [
'comment',
// The argument handler has an explicit dependency on views_test_data.
'views_test_data',
],
'test_dependency' => [
'access',
'row',
'style',
]
];
foreach ($this::$testViews as $view_id) {
$view = Views::getView($view_id);
$dependencies = $view->calculateDependencies();
$this->assertEqual($expected[$view_id], $dependencies);
$config = \Drupal::config('views.view.' . $view_id);
\Drupal::service('config.storage.staging')->write($view_id, $config->get());
}
} }
} }

View File

@ -51,7 +51,6 @@ class AreaTitleWebTest extends ViewTestBase {
'table' => 'views_test_data', 'table' => 'views_test_data',
'relationship' => 'none', 'relationship' => 'none',
'plugin_id' => 'numeric', 'plugin_id' => 'numeric',
'provider' => 'views_test_data',
// Add a value which does not exist. // Add a value which does not exist.
'value' => ['value' => '042118160112'], 'value' => ['value' => '042118160112'],
]; ];

View File

@ -66,7 +66,6 @@ class DisplayTest extends PluginTestBase {
'id' => 'display_test_1', 'id' => 'display_test_1',
'display_title' => 'Display test', 'display_title' => 'Display test',
'position' => 1, 'position' => 1,
'provider' => 'views_test_data',
); );
$this->assertEqual($displays['display_test_1'], $options); $this->assertEqual($displays['display_test_1'], $options);
@ -79,7 +78,6 @@ class DisplayTest extends PluginTestBase {
'id' => 'display_test_2', 'id' => 'display_test_2',
'display_title' => 'Display test 2', 'display_title' => 'Display test 2',
'position' => 2, 'position' => 2,
'provider' => 'views_test_data',
); );
$this->assertEqual($displays['display_test_2'], $options); $this->assertEqual($displays['display_test_2'], $options);

View File

@ -268,7 +268,6 @@ class ViewStorageTest extends ViewUnitTestBase {
'table' => 'views_test_data', 'table' => 'views_test_data',
'field' => 'id', 'field' => 'id',
'plugin_id' => 'numeric', 'plugin_id' => 'numeric',
'provider' => 'views',
); );
$this->assertEqual($item1, $expected_item); $this->assertEqual($item1, $expected_item);
@ -284,7 +283,6 @@ class ViewStorageTest extends ViewUnitTestBase {
'table' => 'views_test_data', 'table' => 'views_test_data',
'field' => 'name', 'field' => 'name',
'plugin_id' => 'standard', 'plugin_id' => 'standard',
'provider' => 'views',
) + $options; ) + $options;
$this->assertEqual($item2, $expected_item); $this->assertEqual($item2, $expected_item);

View File

@ -204,11 +204,8 @@ class BasicTest extends WizardTestBase {
$displays = $view->storage->get('display'); $displays = $view->storage->get('display');
foreach ($displays as $display) { foreach ($displays as $display) {
$this->assertIdentical($display['provider'], 'views', 'Expected provider found for display.');
foreach (array('query', 'exposed_form', 'pager', 'style', 'row') as $type) { foreach (array('query', 'exposed_form', 'pager', 'style', 'row') as $type) {
$this->assertFalse(empty($display['display_options'][$type]['options']), String::format('Default options found for @plugin.', array('@plugin' => $type))); $this->assertFalse(empty($display['display_options'][$type]['options']), String::format('Default options found for @plugin.', array('@plugin' => $type)));
$this->assertIdentical($display['display_options'][$type]['provider'], 'views', String::format('Expected provider found for @plugin.', array('@plugin' => $type)));
} }
} }
} }

View File

@ -1912,9 +1912,6 @@ class ViewExecutable {
$data = Views::viewsData()->get($table); $data = Views::viewsData()->get($table);
if (isset($data[$field][$handler_type]['id'])) { if (isset($data[$field][$handler_type]['id'])) {
$fields[$id]['plugin_id'] = $data[$field][$handler_type]['id']; $fields[$id]['plugin_id'] = $data[$field][$handler_type]['id'];
if ($definition = Views::pluginManager($handler_type)->getDefinition($fields[$id]['plugin_id'], FALSE)) {
$fields[$id]['provider'] = isset($definition['provider']) ? $definition['provider'] : 'views';
}
} }
$this->displayHandlers->get($display_id)->setOption($types[$type]['plural'], $fields); $this->displayHandlers->get($display_id)->setOption($types[$type]['plural'], $fields);

View File

@ -7,6 +7,7 @@
namespace Drupal\views; namespace Drupal\views;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\Cache; use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Config\ConfigFactoryInterface;
@ -230,7 +231,18 @@ class ViewsData {
return $data->data; return $data->data;
} }
else { else {
$data = $this->moduleHandler->invokeAll('views_data'); $modules = $this->moduleHandler->getImplementations('views_data');
$data = [];
foreach ($modules as $module) {
$views_data = $this->moduleHandler->invoke($module, 'views_data');
// Set the provider key for each base table.
foreach ($views_data as &$table) {
if (isset($table['table']) && !isset($table['table']['provider'])) {
$table['table']['provider'] = $module;
}
}
$data = NestedArray::mergeDeep($data, $views_data);
}
$this->moduleHandler->alter('views_data', $data); $this->moduleHandler->alter('views_data', $data);
$this->processEntityTypes($data); $this->processEntityTypes($data);

View File

@ -17,7 +17,6 @@ display:
format: default_summary format: default_summary
table: entity_test table: entity_test
plugin_id: string plugin_id: string
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -39,7 +38,6 @@ display:
link_to_node: '0' link_to_node: '0'
table: entity_test table: entity_test
plugin_id: numeric plugin_id: numeric
provider: views
group_by: '1' group_by: '1'
pager: pager:
type: some type: some

View File

@ -17,21 +17,18 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
id: id:
field: id field: id
id: id id: id
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
name: name:
field: name field: name
id: name id: name
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: string plugin_id: string
provider: views_test_data
pager: pager:
options: options:
offset: '0' offset: '0'
@ -46,7 +43,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
use_ajax: 1 use_ajax: 1
display_plugin: default display_plugin: default
display_title: Master display_title: Master

View File

@ -32,7 +32,6 @@ display:
overwrite_anonymous: '0' overwrite_anonymous: '0'
table: users_field_data table: users_field_data
plugin_id: user_name plugin_id: user_name
provider: user
filters: filters:
uid_raw: uid_raw:
admin_label: '' admin_label: ''
@ -73,7 +72,6 @@ display:
min: '' min: ''
value: '1' value: '1'
plugin_id: numeric plugin_id: numeric
provider: views
pager: pager:
type: full type: full
query: query:

View File

@ -17,7 +17,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
pager: pager:
options: options:
offset: '0' offset: '0'
@ -31,7 +30,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
empty: empty:
title: title:
field: title field: title
@ -39,7 +37,6 @@ display:
table: views table: views
plugin_id: title plugin_id: title
title: test_title_empty title: test_title_empty
provider: views
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default
@ -56,7 +53,6 @@ display:
table: views table: views
plugin_id: title plugin_id: title
title: test_title_header title: test_title_header
provider: views
display_plugin: page display_plugin: page
display_title: 'Page 1' display_title: 'Page 1'
id: page_1 id: page_1

View File

@ -17,7 +17,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
pager: pager:
options: options:
offset: '0' offset: '0'
@ -31,7 +30,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
header: header:
view: view:
field: view field: view
@ -40,7 +38,6 @@ display:
view_to_insert: test_simple_argument:default view_to_insert: test_simple_argument:default
inherit_arguments: 1 inherit_arguments: 1
plugin_id: view plugin_id: view
provider: views
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -16,7 +16,6 @@ display:
id: date_fulldate id: date_fulldate
table: views_test_data table: views_test_data
plugin_id: date_fulldate plugin_id: date_fulldate
provider: views_test_data
fields: fields:
id: id:
field: id field: id
@ -24,7 +23,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
pager: pager:
options: options:
offset: '0' offset: '0'
@ -38,7 +36,6 @@ display:
relationship: none relationship: none
table: views_test_data table: views_test_data
plugin_id: numeric plugin_id: numeric
provider: views_test_data
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default
@ -53,7 +50,6 @@ display:
id: date_day id: date_day
table: views_test_data table: views_test_data
plugin_id: date_day plugin_id: date_day
provider: views_test_data
display_plugin: embed display_plugin: embed
id: embed_1 id: embed_1
embed_2: embed_2:
@ -66,7 +62,6 @@ display:
id: date_month id: date_month
table: views_test_data table: views_test_data
plugin_id: date_month plugin_id: date_month
provider: views_test_data
display_plugin: embed display_plugin: embed
id: embed_2 id: embed_2
embed_3: embed_3:
@ -79,7 +74,6 @@ display:
id: date_week id: date_week
table: views_test_data table: views_test_data
plugin_id: date_week plugin_id: date_week
provider: views_test_data
display_plugin: embed display_plugin: embed
id: embed_3 id: embed_3
embed_4: embed_4:
@ -92,7 +86,6 @@ display:
id: date_year id: date_year
table: views_test_data table: views_test_data
plugin_id: date_year plugin_id: date_year
provider: views_test_data
display_plugin: embed display_plugin: embed
id: embed_4 id: embed_4
embed_5: embed_5:
@ -105,7 +98,6 @@ display:
id: date_year_month id: date_year_month
table: views_test_data table: views_test_data
plugin_id: date_year_month plugin_id: date_year_month
provider: views_test_data
display_plugin: embed display_plugin: embed
id: embed_5 id: embed_5
label: '' label: ''

View File

@ -14,7 +14,6 @@ display:
id: uid id: uid
table: node_field_data table: node_field_data
plugin_id: numeric plugin_id: numeric
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -36,7 +35,6 @@ display:
link_to_node: '0' link_to_node: '0'
table: node_field_data table: node_field_data
plugin_id: node plugin_id: node
provider: node
pager: pager:
options: options:
id: '0' id: '0'

View File

@ -17,7 +17,6 @@ display:
style_plugin: default_summary style_plugin: default_summary
table: views table: views
plugin_id: 'null' plugin_id: 'null'
provider: views
cache: cache:
type: none type: none
exposed_form: exposed_form:
@ -39,7 +38,6 @@ display:
link_to_node: '0' link_to_node: '0'
table: node_field_data table: node_field_data
plugin_id: node plugin_id: node
provider: node
pager: pager:
options: options:
id: '0' id: '0'

View File

@ -25,7 +25,6 @@ display:
table: views_test_data table: views_test_data
field: id field: id
plugin_id: numeric plugin_id: numeric
provider: views_test_data
display_plugin: default display_plugin: default
display_title: Master display_title: Master
id: default id: default

View File

@ -15,19 +15,16 @@ display:
table: views_test_data table: views_test_data
field: id field: id
relationship: none relationship: none
provider: views_test_data
name: name:
id: name id: name
table: views_test_data table: views_test_data
field: name field: name
relationship: none relationship: none
provider: views_test_data
age: age:
id: age id: age
table: views_test_data table: views_test_data
field: age field: age
relationship: none relationship: none
provider: views_test_data
defaults: defaults:
fields: '0' fields: '0'
sorts: '0' sorts: '0'
@ -38,7 +35,6 @@ display:
table: views_test_data table: views_test_data
field: id field: id
relationship: none relationship: none
provider: views_test_data
label: '' label: ''
id: test_cache id: test_cache
tag: '' tag: ''

View File

@ -12,21 +12,18 @@ display:
field: id field: id
label: ID label: ID
plugin_id: numeric plugin_id: numeric
provider: views_test_data
name: name:
id: name id: name
table: views_test_data table: views_test_data
field: name field: name
label: Name label: Name
plugin_id: string plugin_id: string
provider: views_test_data
created: created:
id: created id: created
table: views_test_data table: views_test_data
field: created field: created
label: created label: created
plugin_id: date plugin_id: date
provider: views_test_data
display_options: display_options:
access: access:
type: none type: none

View File

@ -37,7 +37,6 @@ display:
style_plugin: default_summary style_plugin: default_summary
table: node_field_data table: node_field_data
plugin_id: date_day plugin_id: date_day
provider: views
created_fulldate: created_fulldate:
default_argument_type: fixed default_argument_type: fixed
field: created_fulldate field: created_fulldate
@ -45,7 +44,6 @@ display:
style_plugin: default_summary style_plugin: default_summary
table: node_field_data table: node_field_data
plugin_id: date_fulldate plugin_id: date_fulldate
provider: views
created_month: created_month:
default_argument_type: fixed default_argument_type: fixed
field: created_month field: created_month
@ -53,7 +51,6 @@ display:
style_plugin: default_summary style_plugin: default_summary
table: node_field_data table: node_field_data
plugin_id: date_month plugin_id: date_month
provider: views
cache: cache:
type: none type: none
empty: empty:
@ -63,14 +60,12 @@ display:
id: area id: area
table: views table: views
plugin_id: text plugin_id: text
provider: views
area_1: area_1:
empty: '0' empty: '0'
field: area field: area
id: area_1 id: area_1
table: views table: views
plugin_id: text plugin_id: text
provider: views
exposed_form: exposed_form:
type: basic type: basic
fields: fields:
@ -79,38 +74,32 @@ display:
id: created id: created
table: node_field_data table: node_field_data
plugin_id: date plugin_id: date
provider: views
nid: nid:
field: nid field: nid
id: nid id: nid
table: node table: node
plugin_id: node plugin_id: node
provider: node
path: path:
field: path field: path
id: path id: path
table: node table: node
plugin_id: node_path plugin_id: node_path
provider: node
filters: filters:
nid: nid:
field: nid field: nid
id: nid id: nid
table: node table: node
plugin_id: numeric plugin_id: numeric
provider: views
status: status:
field: status field: status
id: status id: status
table: node_field_data table: node_field_data
plugin_id: boolean plugin_id: boolean
provider: views
title: title:
field: title field: title
id: title id: title
table: node_field_data table: node_field_data
plugin_id: string plugin_id: string
provider: views
footer: footer:
area: area:
empty: '0' empty: '0'
@ -118,14 +107,12 @@ display:
id: area id: area
table: views table: views
plugin_id: text plugin_id: text
provider: views
area_1: area_1:
empty: '0' empty: '0'
field: area field: area
id: area_1 id: area_1
table: views table: views
plugin_id: text plugin_id: text
provider: views
header: header:
area: area:
empty: '0' empty: '0'
@ -133,14 +120,12 @@ display:
id: area id: area
table: views table: views
plugin_id: text plugin_id: text
provider: views
area_1: area_1:
empty: '0' empty: '0'
field: area field: area
id: area_1 id: area_1
table: views table: views
plugin_id: text plugin_id: text
provider: views
pager: pager:
type: full type: full
query: query:
@ -151,34 +136,29 @@ display:
id: comment_cid id: comment_cid
table: node table: node
plugin_id: standard plugin_id: standard
provider: views
pid: pid:
field: pid field: pid
id: pid id: pid
table: comment_field_data table: comment_field_data
relationship: comment_cid relationship: comment_cid
plugin_id: standard plugin_id: standard
provider: views
uid: uid:
field: uid field: uid
id: uid id: uid
table: comment_field_data table: comment_field_data
relationship: comment_cid relationship: comment_cid
plugin_id: standard plugin_id: standard
provider: views
sorts: sorts:
last_comment_name: last_comment_name:
field: last_comment_name field: last_comment_name
id: last_comment_name id: last_comment_name
table: comment_entity_statistics table: comment_entity_statistics
plugin_id: comment_ces_last_comment_name plugin_id: comment_ces_last_comment_name
provider: comment
last_comment_timestamp: last_comment_timestamp:
field: last_comment_timestamp field: last_comment_timestamp
id: last_comment_timestamp id: last_comment_timestamp
table: comment_entity_statistics table: comment_entity_statistics
plugin_id: date plugin_id: date
provider: views
style: style:
type: default type: default
row: row:

View File

@ -32,7 +32,6 @@ display:
display_title: Block display_title: Block
id: block_1 id: block_1
position: 2 position: 2
provider: views
default: default:
display_options: display_options:
access: access:
@ -47,7 +46,6 @@ display:
id: title id: title
table: node_field_data table: node_field_data
plugin_id: node plugin_id: node
provider: node
filters: filters:
status: status:
field: status field: status
@ -56,7 +54,6 @@ display:
table: node_field_data table: node_field_data
value: '1' value: '1'
plugin_id: boolean plugin_id: boolean
provider: views
pager: pager:
options: options:
items_per_page: '10' items_per_page: '10'
@ -75,7 +72,6 @@ display:
order: DESC order: DESC
table: node_field_data table: node_field_data
plugin_id: date plugin_id: date
provider: views
style_plugin: default style_plugin: default
title: 'Test Display' title: 'Test Display'
display_plugin: default display_plugin: default

Some files were not shown because too many files have changed in this diff Show More