diff --git a/core/modules/comment/src/Plugin/views/wizard/Comment.php b/core/modules/comment/src/Plugin/views/wizard/Comment.php index 2d3b2b5..14ebb1d 100644 --- a/core/modules/comment/src/Plugin/views/wizard/Comment.php +++ b/core/modules/comment/src/Plugin/views/wizard/Comment.php @@ -43,6 +43,7 @@ class Comment extends WizardPluginBase { 'alter_text' => TRUE, 'text' => 'comment/[cid]#comment-[cid]' ), + 'plugin_id' => 'comment', ); /** @@ -53,15 +54,15 @@ class Comment extends WizardPluginBase { 'value' => TRUE, 'table' => 'comment_field_data', 'field' => 'status', - 'provider' => 'comment' + 'plugin_id' => 'boolean', ), 'status_node' => array( 'value' => TRUE, 'table' => 'node_field_data', 'field' => 'status', - 'provider' => 'node', + 'plugin_id' => 'boolean', 'relationship' => 'node', - ) + ), ); /** @@ -168,6 +169,7 @@ protected function defaultDisplayOptions() { $display_options['fields']['subject']['hide_empty'] = 0; $display_options['fields']['subject']['empty_zero'] = 0; $display_options['fields']['subject']['link_to_comment'] = 1; + $display_options['fields']['subject']['plugin_id'] = 'comment'; return $display_options; } diff --git a/core/modules/file/src/Plugin/views/wizard/File.php b/core/modules/file/src/Plugin/views/wizard/File.php index 0539ccf..0d54945 100644 --- a/core/modules/file/src/Plugin/views/wizard/File.php +++ b/core/modules/file/src/Plugin/views/wizard/File.php @@ -33,7 +33,8 @@ class File extends WizardPluginBase { 'table' => 'file_managed', 'field' => 'uri', 'exclude' => TRUE, - 'file_download_path' => TRUE + 'file_download_path' => TRUE, + 'plugin_id' => 'file_uri', ); /** @@ -64,6 +65,7 @@ protected function defaultDisplayOptions() { $display_options['fields']['filename']['hide_empty'] = 0; $display_options['fields']['filename']['empty_zero'] = 0; $display_options['fields']['filename']['link_to_file'] = 1; + $display_options['fields']['filename']['plugin_id'] = 'file'; return $display_options; } diff --git a/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php b/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php index 10a42ac..e7d3046 100644 --- a/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php +++ b/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php @@ -31,7 +31,8 @@ class TaxonomyTerm extends WizardPluginBase { 'alter' => array( 'alter_text' => TRUE, 'text' => 'taxonomy/term/[tid]' - ) + ), + 'plugin_id' => 'taxonomy', ); /** @@ -62,6 +63,7 @@ protected function defaultDisplayOptions() { $display_options['fields']['name']['hide_empty'] = 0; $display_options['fields']['name']['empty_zero'] = 0; $display_options['fields']['name']['link_to_taxonomy'] = 1; + $display_options['fields']['name']['plugin_id'] = 'taxonomy'; return $display_options; }