Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ebcca481
Commit
ebcca481
authored
Mar 06, 2015
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2429447
by dawehner, jhodgdon, xjm, jibran: Use data table as views base table, if available
parent
975121d4
Changes
155
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
155 changed files
with
457 additions
and
378 deletions
+457
-378
core/modules/action/tests/action_bulk_test/config/install/views.view.test_bulk_form.yml
...on_bulk_test/config/install/views.view.test_bulk_form.yml
+1
-1
core/modules/block_content/src/BlockContentViewsData.php
core/modules/block_content/src/BlockContentViewsData.php
+1
-1
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml
...t_views/test_views/views.view.test_block_content_view.yml
+4
-4
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml
...t_test_views/test_views/views.view.test_field_filters.yml
+1
-1
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_type.yml
...tent_test_views/test_views/views.view.test_field_type.yml
+1
-1
core/modules/comment/comment.views.inc
core/modules/comment/comment.views.inc
+1
-1
core/modules/comment/config/install/views.view.comments_recent.yml
...les/comment/config/install/views.view.comments_recent.yml
+2
-2
core/modules/comment/src/CommentViewsData.php
core/modules/comment/src/CommentViewsData.php
+6
-6
core/modules/comment/src/Plugin/views/argument/UserUid.php
core/modules/comment/src/Plugin/views/argument/UserUid.php
+1
-1
core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
.../comment/src/Plugin/views/field/StatisticsLastUpdated.php
+1
-1
core/modules/comment/src/Plugin/views/row/Rss.php
core/modules/comment/src/Plugin/views/row/Rss.php
+2
-2
core/modules/comment/src/Plugin/views/wizard/Comment.php
core/modules/comment/src/Plugin/views/wizard/Comment.php
+1
-1
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml
...nt_test_views/test_views/views.view.test_comment_rest.yml
+1
-1
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml
...ent_test_views/test_views/views.view.test_comment_row.yml
+1
-1
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml
...ent_test_views/test_views/views.view.test_comment_rss.yml
+1
-1
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml
...est_views/test_views/views.view.test_comment_user_uid.yml
+2
-2
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml
...t_test_views/test_views/views.view.test_field_filters.yml
+1
-1
core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml
...s/test_views/views.view.test_entity_translations_link.yml
+2
-2
core/modules/entity_reference/src/Tests/Views/SelectionTest.php
...odules/entity_reference/src/Tests/Views/SelectionTest.php
+2
-2
core/modules/entity_reference/tests/modules/entity_reference_test/config/install/views.view.test_entity_reference.yml
..._test/config/install/views.view.test_entity_reference.yml
+1
-1
core/modules/file/src/FileViewsData.php
core/modules/file/src/FileViewsData.php
+16
-16
core/modules/file/tests/modules/file_test_views/test_views/views.view.test_file_user_file_data.yml
..._views/test_views/views.view.test_file_user_file_data.yml
+1
-1
core/modules/history/history.views.inc
core/modules/history/history.views.inc
+1
-1
core/modules/image/tests/modules/image_test_views/test_views/views.view.test_image_user_image_data.yml
...iews/test_views/views.view.test_image_user_image_data.yml
+1
-1
core/modules/node/config/install/views.view.archive.yml
core/modules/node/config/install/views.view.archive.yml
+1
-1
core/modules/node/config/install/views.view.content.yml
core/modules/node/config/install/views.view.content.yml
+1
-1
core/modules/node/config/install/views.view.content_recent.yml
...modules/node/config/install/views.view.content_recent.yml
+1
-1
core/modules/node/config/install/views.view.frontpage.yml
core/modules/node/config/install/views.view.frontpage.yml
+1
-1
core/modules/node/config/install/views.view.glossary.yml
core/modules/node/config/install/views.view.glossary.yml
+1
-1
core/modules/node/src/NodeViewsData.php
core/modules/node/src/NodeViewsData.php
+22
-23
core/modules/node/src/Plugin/views/field/Node.php
core/modules/node/src/Plugin/views/field/Node.php
+1
-1
core/modules/node/src/Plugin/views/field/RevisionLink.php
core/modules/node/src/Plugin/views/field/RevisionLink.php
+1
-1
core/modules/node/src/Plugin/views/row/Rss.php
core/modules/node/src/Plugin/views/row/Rss.php
+2
-2
core/modules/node/src/Plugin/views/wizard/Node.php
core/modules/node/src/Plugin/views/wizard/Node.php
+1
-1
core/modules/node/src/Plugin/views/wizard/NodeRevision.php
core/modules/node/src/Plugin/views/wizard/NodeRevision.php
+1
-1
core/modules/node/src/Tests/Views/NodeRevisionWizardTest.php
core/modules/node/src/Tests/Views/NodeRevisionWizardTest.php
+2
-2
core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
...odules/node/src/Tests/Views/RevisionRelationshipsTest.php
+2
-2
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml
...est_views/test_views/views.view.test_contextual_links.yml
+2
-2
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_filters.yml
...e_test_views/test_views/views.view.test_field_filters.yml
+1
-1
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml
...node_test_views/test_views/views.view.test_field_type.yml
+1
-1
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml
...s/test_views/views.view.test_filter_node_uid_revision.yml
+3
-3
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml
...s/node_test_views/test_views/views.view.test_language.yml
+1
-1
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_bulk_form.yml
..._test_views/test_views/views.view.test_node_bulk_form.yml
+1
-1
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml
...st_views/test_views/views.view.test_node_revision_nid.yml
+6
-6
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml
...st_views/test_views/views.view.test_node_revision_vid.yml
+6
-6
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_row_plugin.yml
...test_views/test_views/views.view.test_node_row_plugin.yml
+2
-2
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml
.../node_test_views/test_views/views.view.test_node_view.yml
+2
-2
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml
...de_test_views/test_views/views.view.test_status_extra.yml
+1
-1
core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml
...t_views/views.view.test_options_list_argument_numeric.yml
+1
-1
core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml
...st_views/views.view.test_options_list_argument_string.yml
+1
-1
core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml
..._views/test_views/views.view.test_options_list_filter.yml
+1
-1
core/modules/statistics/statistics.views.inc
core/modules/statistics/statistics.views.inc
+1
-1
core/modules/statistics/tests/modules/statistics_test_views/test_views/views.view.test_statistics_integration.yml
...ews/test_views/views.view.test_statistics_integration.yml
+1
-1
core/modules/taxonomy/config/install/views.view.taxonomy_term.yml
...ules/taxonomy/config/install/views.view.taxonomy_term.yml
+1
-1
core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
...ules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
+1
-1
core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
...s/taxonomy/src/Plugin/views/relationship/NodeTermData.php
+3
-3
core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php
...modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php
+1
-1
core/modules/taxonomy/src/TermViewsData.php
core/modules/taxonomy/src/TermViewsData.php
+24
-24
core/modules/taxonomy/src/Tests/Views/RelationshipRepresentativeNodeTest.php
...my/src/Tests/Views/RelationshipRepresentativeNodeTest.php
+1
-1
core/modules/taxonomy/src/Tests/Views/TaxonomyTermViewTest.php
...modules/taxonomy/src/Tests/Views/TaxonomyTermViewTest.php
+1
-1
core/modules/taxonomy/taxonomy.views.inc
core/modules/taxonomy/taxonomy.views.inc
+4
-4
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_default_argument_test.yml
.../test_views/views.view.taxonomy_default_argument_test.yml
+3
-3
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_field_filters.yml
...y_test_views/test_views/views.view.test_field_filters.yml
+1
-1
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml
.../test_views/views.view.test_filter_taxonomy_index_tid.yml
+1
-1
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml
..._test_views/test_views/views.view.test_groupwise_term.yml
+4
-4
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml
...ws/test_views/views.view.test_taxonomy_node_term_data.yml
+6
-6
core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_tid_field.yml
...t_views/test_views/views.view.test_taxonomy_tid_field.yml
+2
-2
core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml
...est_views/test_views/views.view.test_tracker_user_uid.yml
+3
-3
core/modules/tracker/tracker.views.inc
core/modules/tracker/tracker.views.inc
+6
-6
core/modules/user/config/install/views.view.user_admin_people.yml
...ules/user/config/install/views.view.user_admin_people.yml
+2
-2
core/modules/user/config/install/views.view.who_s_new.yml
core/modules/user/config/install/views.view.who_s_new.yml
+1
-1
core/modules/user/config/install/views.view.who_s_online.yml
core/modules/user/config/install/views.view.who_s_online.yml
+1
-1
core/modules/user/src/Plugin/views/field/Permissions.php
core/modules/user/src/Plugin/views/field/Permissions.php
+1
-1
core/modules/user/src/Plugin/views/field/Roles.php
core/modules/user/src/Plugin/views/field/Roles.php
+1
-1
core/modules/user/src/Plugin/views/wizard/Users.php
core/modules/user/src/Plugin/views/wizard/Users.php
+1
-1
core/modules/user/src/Tests/Views/HandlerFieldUserNameTest.php
...modules/user/src/Tests/Views/HandlerFieldUserNameTest.php
+4
-4
core/modules/user/src/Tests/Views/RelationshipRepresentativeNodeTest.php
...er/src/Tests/Views/RelationshipRepresentativeNodeTest.php
+1
-1
core/modules/user/src/UserViewsData.php
core/modules/user/src/UserViewsData.php
+17
-17
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_perm.yml
...ser_test_views/test_views/views.view.test_access_perm.yml
+1
-1
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_field_permission.yml
...est_views/test_views/views.view.test_field_permission.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_filter_permission.yml
...st_views/test_views/views.view.test_filter_permission.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_groupwise_user.yml
..._test_views/test_views/views.view.test_groupwise_user.yml
+3
-3
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml
.../views.view.test_plugin_argument_default_current_user.yml
+1
-1
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form.yml
..._test_views/test_views/views.view.test_user_bulk_form.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_changed.yml
...er_test_views/test_views/views.view.test_user_changed.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml
.../user_test_views/test_views/views.view.test_user_data.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml
.../user_test_views/test_views/views.view.test_user_name.yml
+3
-3
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_relationship.yml
...st_views/test_views/views.view.test_user_relationship.yml
+2
-2
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_uid_argument.yml
...st_views/test_views/views.view.test_user_uid_argument.yml
+3
-3
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml
...est_views/views.view.test_view_argument_validate_user.yml
+1
-1
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_username.yml
...views/views.view.test_view_argument_validate_username.yml
+1
-1
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_role.yml
...s/test_views/views.view.test_views_handler_field_role.yml
+1
-1
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml
...t_views/views.view.test_views_handler_field_user_name.yml
+1
-1
core/modules/views/src/EntityViewsData.php
core/modules/views/src/EntityViewsData.php
+17
-12
core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
...ules/views/src/Plugin/views/display/DisplayPluginBase.php
+6
-4
core/modules/views/src/Plugin/views/row/EntityRow.php
core/modules/views/src/Plugin/views/row/EntityRow.php
+1
-1
core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
...odules/views/src/Plugin/views/wizard/WizardPluginBase.php
+1
-1
core/modules/views/src/Tests/FieldApiDataTest.php
core/modules/views/src/Tests/FieldApiDataTest.php
+5
-7
core/modules/views/src/Tests/Handler/HandlerAliasTest.php
core/modules/views/src/Tests/Handler/HandlerAliasTest.php
+1
-1
core/modules/views/src/Tests/Handler/HandlerAllTest.php
core/modules/views/src/Tests/Handler/HandlerAllTest.php
+2
-2
core/modules/views/src/Tests/Handler/HandlerTest.php
core/modules/views/src/Tests/Handler/HandlerTest.php
+1
-1
core/modules/views/src/Tests/Handler/RelationshipTest.php
core/modules/views/src/Tests/Handler/RelationshipTest.php
+3
-3
core/modules/views/src/Tests/Plugin/JoinTest.php
core/modules/views/src/Tests/Plugin/JoinTest.php
+8
-8
core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php
...dules/views/src/Tests/Plugin/RelationshipJoinTestBase.php
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_access_none.yml
...ws_test_config/test_views/views.view.test_access_none.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_alias.yml
...es/views_test_config/test_views/views.view.test_alias.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_current_user.yml
...t_views/views.view.test_argument_default_current_user.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_fixed.yml
...fig/test_views/views.view.test_argument_default_fixed.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml
...config/test_views/views.view.test_argument_dependency.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml
.../views_test_config/test_views/views.view.test_destroy.yml
+4
-4
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_disabled_display.yml
...st_config/test_views/views.view.test_disabled_display.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display.yml
.../views_test_config/test_views/views.view.test_display.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_feed.yml
...s_test_config/test_views/views.view.test_display_feed.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_invalid.yml
...est_config/test_views/views.view.test_display_invalid.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_dropbutton.yml
...ews_test_config/test_views/views.view.test_dropbutton.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row.yml
...ews_test_config/test_views/views.view.test_entity_row.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row_renderers.yml
...onfig/test_views/views.view.test_entity_row_renderers.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml
..._config/test_views/views.view.test_entity_type_filter.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area.yml
...s_test_config/test_views/views.view.test_example_area.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area_access.yml
...config/test_views/views.view.test_example_area_access.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml
...st_config/test_views/views.view.test_exposed_admin_ui.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_block.yml
..._test_config/test_views/views.view.test_exposed_block.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_buttons.yml
...onfig/test_views/views.view.test_exposed_form_buttons.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_get_entity.yml
...st_config/test_views/views.view.test_field_get_entity.yml
+3
-3
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_date_between.yml
...config/test_views/views.view.test_filter_date_between.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml
...nfig/test_views/views.view.test_filter_group_override.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_groups.yml
..._test_config/test_views/views.view.test_filter_groups.yml
+5
-5
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml
...nfig/test_views/views.view.test_filter_in_operator_ui.yml
+1
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_get_attach_displays.yml
...config/test_views/views.view.test_get_attach_displays.yml
+3
-3
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_glossary.yml
...views_test_config/test_views/views.view.test_glossary.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_rows.yml
...ews_test_config/test_views/views.view.test_group_rows.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_groupwise_term_ui.yml
...t_config/test_views/views.view.test_groupwise_term_ui.yml
+5
-5
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_relationships.yml
...nfig/test_views/views.view.test_handler_relationships.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml
.../views_test_config/test_views/views.view.test_history.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml
...st_config/test_views/views.view.test_http_status_code.yml
+3
-3
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml
...ews_test_config/test_views/views.view.test_mini_pager.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_full.yml
...ews_test_config/test_views/views.view.test_pager_full.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_none.yml
...ews_test_config/test_views/views.view.test_pager_none.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_some.yml
...ews_test_config/test_views/views.view.test_pager_some.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_plugin_dependencies.yml
...config/test_views/views.view.test_plugin_dependencies.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml
..._test_config/test_views/views.view.test_redirect_view.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_relationship_dependency.yml
...ig/test_views/views.view.test_relationship_dependency.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml
...s/views_test_config/test_views/views.view.test_search.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_store_pager_settings.yml
...onfig/test_views/views.view.test_store_pager_settings.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tag_cache.yml
...iews_test_config/test_views/views.view.test_tag_cache.yml
+2
-2
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml
..._views/views.view.test_view_argument_validate_numeric.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_delete.yml
...ws_test_config/test_views/views.view.test_view_delete.yml
+1
-1
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_pager_full_zero_items_per_page.yml
...s/views.view.test_view_pager_full_zero_items_per_page.yml
+1
-1
core/modules/views/tests/modules/views_test_data/test_views/views.view.test_access_static.yml
...ws_test_data/test_views/views.view.test_access_static.yml
+1
-1
core/modules/views/tests/src/Unit/EntityViewsDataTest.php
core/modules/views/tests/src/Unit/EntityViewsDataTest.php
+94
-16
core/modules/views/views.api.php
core/modules/views/views.api.php
+1
-1
core/modules/views/views.views.inc
core/modules/views/views.views.inc
+2
-4
core/modules/views_ui/src/Tests/HandlerTest.php
core/modules/views_ui/src/Tests/HandlerTest.php
+1
-1
core/modules/views_ui/src/Tests/ViewEditTest.php
core/modules/views_ui/src/Tests/ViewEditTest.php
+1
-1
core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml
...ui_test/config/install/views.view.sa_contrib_2013_035.yml
+1
-1
No files found.
core/modules/action/tests/action_bulk_test/config/install/views.view.test_bulk_form.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: form
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
8.x
display
:
...
...
core/modules/block_content/src/BlockContentViewsData.php
View file @
ebcca481
...
...
@@ -21,7 +21,7 @@ public function getViewsData() {
$data
=
parent
::
getViewsData
();
$data
[
'block_content'
][
'id'
][
'field'
][
'id'
]
=
'block_content'
;
$data
[
'block_content
_field_data
'
][
'id'
][
'field'
][
'id'
]
=
'block_content'
;
$data
[
'block_content_field_data'
][
'info'
][
'field'
][
'id'
]
=
'block_content'
;
$data
[
'block_content_field_data'
][
'info'
][
'field'
][
'link_to_entity default'
]
=
TRUE
;
...
...
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml
View file @
ebcca481
...
...
@@ -8,7 +8,7 @@ label: test_block_content_view
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
block_content
base_table
:
block_content
_field_data
base_field
:
id
core
:
8.x
display
:
...
...
@@ -70,7 +70,7 @@ display:
fields
:
id
:
id
:
id
table
:
block_content
table
:
block_content
_field_data
field
:
id
relationship
:
none
group_type
:
group
...
...
@@ -123,7 +123,7 @@ display:
sorts
:
id
:
id
:
id
table
:
block_content
table
:
block_content
_field_data
field
:
id
relationship
:
none
group_type
:
group
...
...
@@ -144,7 +144,7 @@ display:
arguments
:
type
:
id
:
type
table
:
block_content
table
:
block_content
_field_data
field
:
type
relationship
:
none
group_type
:
group
...
...
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml
View file @
ebcca481
...
...
@@ -8,7 +8,7 @@ label: 'Test field filters'
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
block_content
base_table
:
block_content
_field_data
base_field
:
id
core
:
8.x
display
:
...
...
core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_type.yml
View file @
ebcca481
...
...
@@ -8,7 +8,7 @@ label: ''
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
block_content
base_table
:
block_content
_field_data
base_field
:
id
core
:
'
8'
display
:
...
...
core/modules/comment/comment.views.inc
View file @
ebcca481
...
...
@@ -26,7 +26,7 @@ function comment_views_data_alter(&$data) {
continue
;
}
$fields
=
\
Drupal
::
service
(
'comment.manager'
)
->
getFields
(
$entity_type_id
);
$base_table
=
$entity_type
->
getBaseTable
();
$base_table
=
$entity_type
->
get
DataTable
()
?:
$entity_type
->
get
BaseTable
();
$args
=
array
(
'@entity_type'
=>
$entity_type_id
);
if
(
$fields
)
{
...
...
core/modules/comment/config/install/views.view.comments_recent.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: 'Recent comments'
module
:
views
description
:
'
Recent
comments.'
tag
:
default
base_table
:
comment
base_table
:
comment
_field_data
base_field
:
cid
core
:
8.x
display
:
...
...
@@ -208,7 +208,7 @@ display:
entity_field
:
created
cid
:
id
:
cid
table
:
comment
table
:
comment
_field_data
field
:
cid
relationship
:
none
group_type
:
group
...
...
core/modules/comment/src/CommentViewsData.php
View file @
ebcca481
...
...
@@ -20,16 +20,16 @@ class CommentViewsData extends EntityViewsData {
public
function
getViewsData
()
{
$data
=
parent
::
getViewsData
();
$data
[
'comment'
][
'table'
][
'base'
][
'help'
]
=
t
(
'Comments are responses to content.'
);
$data
[
'comment'
][
'table'
][
'base'
][
'access query tag'
]
=
'comment_access'
;
$data
[
'comment
_field_data
'
][
'table'
][
'base'
][
'help'
]
=
t
(
'Comments are responses to content.'
);
$data
[
'comment
_field_data
'
][
'table'
][
'base'
][
'access query tag'
]
=
'comment_access'
;
$data
[
'comment'
][
'table'
][
'wizard_id'
]
=
'comment'
;
$data
[
'comment
_field_data
'
][
'table'
][
'wizard_id'
]
=
'comment'
;
$data
[
'comment_field_data'
][
'subject'
][
'title'
]
=
t
(
'Title'
);
$data
[
'comment_field_data'
][
'subject'
][
'help'
]
=
t
(
'The title of the comment.'
);
$data
[
'comment_field_data'
][
'subject'
][
'field'
][
'id'
]
=
'comment'
;
$data
[
'comment'
][
'cid'
][
'field'
][
'id'
]
=
'comment'
;
$data
[
'comment
_field_data
'
][
'cid'
][
'field'
][
'id'
]
=
'comment'
;
$data
[
'comment_field_data'
][
'name'
][
'title'
]
=
t
(
'Author'
);
$data
[
'comment_field_data'
][
'name'
][
'help'
]
=
t
(
"The name of the comment's author. Can be rendered as a link to the author's homepage."
);
...
...
@@ -190,7 +190,7 @@ public function getViewsData() {
'relationship'
=>
array
(
'title'
=>
$entity_type
->
getLabel
(),
'help'
=>
t
(
'The @entity_type to which the comment is a reply to.'
,
array
(
'@entity_type'
=>
$entity_type
->
getLabel
())),
'base'
=>
$entity_type
->
getBaseTable
(),
'base'
=>
$entity_type
->
get
DataTable
()
?:
$entity_type
->
get
BaseTable
(),
'base field'
=>
$entity_type
->
getKey
(
'id'
),
'relationship field'
=>
'entity_id'
,
'id'
=>
'standard'
,
...
...
@@ -245,7 +245,7 @@ public function getViewsData() {
// {comment_entity_statistics} for each field as multiple joins between
// the same two tables is not supported.
if
(
\
Drupal
::
service
(
'comment.manager'
)
->
getFields
(
$type
))
{
$data
[
'comment_entity_statistics'
][
'table'
][
'join'
][
$entity_type
->
getBaseTable
()]
=
array
(
$data
[
'comment_entity_statistics'
][
'table'
][
'join'
][
$entity_type
->
get
DataTable
()
?:
$entity_type
->
get
BaseTable
()]
=
array
(
'type'
=>
'INNER'
,
'left_field'
=>
$entity_type
->
getKey
(
'id'
),
'field'
=>
'entity_id'
,
...
...
core/modules/comment/src/Plugin/views/argument/UserUid.php
View file @
ebcca481
...
...
@@ -86,7 +86,7 @@ public function query($group_by = FALSE) {
$this
->
ensureMyTable
();
// Use the table definition to correctly add this user ID condition.
if
(
$this
->
table
!=
'comment'
)
{
if
(
$this
->
table
!=
'comment
_field_data
'
)
{
$subselect
=
$this
->
database
->
select
(
'comment_field_data'
,
'c'
);
$subselect
->
addField
(
'c'
,
'cid'
);
$subselect
->
condition
(
'c.uid'
,
$this
->
argument
);
...
...
core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
View file @
ebcca481
...
...
@@ -20,7 +20,7 @@ class StatisticsLastUpdated extends Date {
public
function
query
()
{
$this
->
ensureMyTable
();
$this
->
node_table
=
$this
->
query
->
ensureTable
(
'node'
,
$this
->
relationship
);
$this
->
node_table
=
$this
->
query
->
ensureTable
(
'node
_field_data
'
,
$this
->
relationship
);
$this
->
field_alias
=
$this
->
query
->
addField
(
NULL
,
"GREATEST("
.
$this
->
node_table
.
".changed, "
.
$this
->
tableAlias
.
".last_comment_timestamp)"
,
$this
->
tableAlias
.
'_'
.
$this
->
field
);
}
...
...
core/modules/comment/src/Plugin/views/row/Rss.php
View file @
ebcca481
...
...
@@ -18,7 +18,7 @@
* help = @Translation("Display the comment as RSS."),
* theme = "views_view_row_rss",
* register_theme = FALSE,
* base = {"comment"},
* base = {"comment
_field_data
"},
* display_types = {"feed"}
* )
*/
...
...
@@ -27,7 +27,7 @@ class Rss extends RssPluginBase {
/**
* {@inheritdoc}
*/
protected
$base_table
=
'comment'
;
protected
$base_table
=
'comment
_field_data
'
;
/**
* {@inheritdoc}
...
...
core/modules/comment/src/Plugin/views/wizard/Comment.php
View file @
ebcca481
...
...
@@ -19,7 +19,7 @@
*
* @ViewsWizard(
* id = "comment",
* base_table = "comment",
* base_table = "comment
_field_data
",
* title = @Translation("Comments")
* )
*/
...
...
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml
View file @
ebcca481
...
...
@@ -14,7 +14,7 @@ label: 'Comments by node'
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
comment
base_table
:
comment
_field_data
base_field
:
cid
core
:
8.x
display
:
...
...
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml
View file @
ebcca481
...
...
@@ -10,7 +10,7 @@ label: test_comment_row
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
comment
base_table
:
comment
_field_data
base_field
:
cid
core
:
8.x
display
:
...
...
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml
View file @
ebcca481
...
...
@@ -10,7 +10,7 @@ label: test_comment_rss
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
comment
base_table
:
comment
_field_data
base_field
:
cid
core
:
8.x
display
:
...
...
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml
View file @
ebcca481
...
...
@@ -11,7 +11,7 @@ label: test_comment_user_uid
module
:
comment_test_views
description
:
'
'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
'
8'
display
:
...
...
@@ -41,7 +41,7 @@ display:
nid
:
field
:
nid
id
:
nid
table
:
node
table
:
node
_field_data
plugin_id
:
node
entity_type
:
node
entity_field
:
nid
...
...
core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml
View file @
ebcca481
...
...
@@ -10,7 +10,7 @@ label: 'Test field filters'
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
comment
base_table
:
comment
_field_data
base_field
:
cid
core
:
8.x
display
:
...
...
core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: People
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
users
base_table
:
users
_field_data
base_field
:
uid
core
:
8.x
display
:
...
...
@@ -75,7 +75,7 @@ display:
filters
:
uid_raw
:
id
:
uid_raw
table
:
users
table
:
users
_field_data
field
:
uid_raw
operator
:
'
!='
value
:
...
...
core/modules/entity_reference/src/Tests/Views/SelectionTest.php
View file @
ebcca481
...
...
@@ -118,7 +118,7 @@ public function testSelectionHandlerRelationship() {
$view
->
displayHandlers
->
get
(
'default'
)
->
setOption
(
'relationships'
,
array
(
'test_relationship'
=>
array
(
'id'
=>
'uid'
,
'table'
=>
'
users
'
,
'table'
=>
'
node_field_data
'
,
'field'
=>
'uid'
,
),
));
...
...
@@ -127,7 +127,7 @@ public function testSelectionHandlerRelationship() {
$view
->
displayHandlers
->
get
(
'default'
)
->
setOption
(
'filters'
,
array
(
'uid'
=>
array
(
'id'
=>
'uid'
,
'table'
=>
'users'
,
'table'
=>
'users
_field_data
'
,
'field'
=>
'uid'
,
'relationship'
=>
'test_relationship'
,
)
...
...
core/modules/entity_reference/tests/modules/entity_reference_test/config/install/views.view.test_entity_reference.yml
View file @
ebcca481
...
...
@@ -11,7 +11,7 @@ label: 'Entity reference'
module
:
entity_reference_test
description
:
'
'
tag
:
'
'
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
'
8'
display
:
...
...
core/modules/file/src/FileViewsData.php
View file @
ebcca481
...
...
@@ -77,28 +77,28 @@ public function getViewsData() {
'field'
=>
'fid'
,
'left_field'
=>
'fid'
,
),
// Link ourself to the {node} table
// Link ourself to the {node
_field_data
} table
// so we can provide node->file relationships.
'node'
=>
array
(
'node
_field_data
'
=>
array
(
'field'
=>
'id'
,
'left_field'
=>
'nid'
,
'extra'
=>
array
(
array
(
'field'
=>
'type'
,
'value'
=>
'node'
)),
),
// Link ourself to the {users} table
// Link ourself to the {users
_field_data
} table
// so we can provide user->file relationships.
'users'
=>
array
(
'users
_field_data
'
=>
array
(
'field'
=>
'id'
,
'left_field'
=>
'uid'
,
'extra'
=>
array
(
array
(
'field'
=>
'type'
,
'value'
=>
'user'
)),
),
// Link ourself to the {comment} table
// Link ourself to the {comment
_field_data
} table
// so we can provide comment->file relationships.
'comment'
=>
array
(
'field'
=>
'id'
,
'left_field'
=>
'cid'
,
'extra'
=>
array
(
array
(
'field'
=>
'type'
,
'value'
=>
'comment'
)),
),
// Link ourself to the {taxonomy_term_data} table
// Link ourself to the {taxonomy_term_
field_
data} table
// so we can provide taxonomy_term->file relationships.
'taxonomy_term_data'
=>
array
(
'field'
=>
'id'
,
...
...
@@ -119,12 +119,12 @@ public function getViewsData() {
'help'
=>
t
(
'Content that is associated with this file, usually because this file is in a field on the content.'
),
// Only provide this field/relationship/etc.,
// when the 'file_managed' base table is present.
'skip base'
=>
array
(
'node
'
,
'node_field_revision'
,
'users'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'id'
,
'relationship'
=>
array
(
'title'
=>
t
(
'Content'
),
'label'
=>
t
(
'Content'
),
'base'
=>
'node'
,
'base'
=>
'node
_field_data
'
,
'base field'
=>
'nid'
,
'relationship field'
=>
'id'
,
'extra'
=>
array
(
array
(
'table'
=>
'file_usage'
,
'field'
=>
'type'
,
'operator'
=>
'='
,
'value'
=>
'node'
)),
...
...
@@ -135,7 +135,7 @@ public function getViewsData() {
'help'
=>
t
(
'A file that is associated with this node, usually because it is in a field on the node.'
),
// Only provide this field/relationship/etc.,
// when the 'node' base table is present.
'skip base'
=>
array
(
'file_managed'
,
'users
'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'file_managed'
,
'users
_field_data'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'fid'
,
'relationship'
=>
array
(
'title'
=>
t
(
'File'
),
...
...
@@ -152,7 +152,7 @@ public function getViewsData() {
'help'
=>
t
(
'A user that is associated with this file, usually because this file is in a field on the user.'
),
// Only provide this field/relationship/etc.,
// when the 'file_managed' base table is present.
'skip base'
=>
array
(
'node
'
,
'node_field_revision'
,
'users'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'id'
,
'relationship'
=>
array
(
'title'
=>
t
(
'User'
),
...
...
@@ -168,7 +168,7 @@ public function getViewsData() {
'help'
=>
t
(
'A file that is associated with this user, usually because it is in a field on the user.'
),
// Only provide this field/relationship/etc.,
// when the 'users' base table is present.
'skip base'
=>
array
(
'file_managed'
,
'node
'
,
'node_field_revision'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'file_managed'
,
'node
_field_data'
,
'node_field_revision'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'fid'
,
'relationship'
=>
array
(
'title'
=>
t
(
'File'
),
...
...
@@ -185,12 +185,12 @@ public function getViewsData() {
'help'
=>
t
(
'A comment that is associated with this file, usually because this file is in a field on the comment.'
),
// Only provide this field/relationship/etc.,
// when the 'file_managed' base table is present.
'skip base'
=>
array
(
'node
'
,
'node_field_revision'
,
'users'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'id'
,
'relationship'
=>
array
(
'title'
=>
t
(
'Comment'
),
'label'
=>
t
(
'Comment'
),
'base'
=>
'comment'
,
'base'
=>
'comment
_field_data
'
,
'base field'
=>
'cid'
,
'relationship field'
=>
'id'
,
'extra'
=>
array
(
array
(
'table'
=>
'file_usage'
,
'field'
=>
'type'
,
'operator'
=>
'='
,
'value'
=>
'comment'
)),
...
...
@@ -201,7 +201,7 @@ public function getViewsData() {
'help'
=>
t
(
'A file that is associated with this comment, usually because it is in a field on the comment.'
),
// Only provide this field/relationship/etc.,
// when the 'comment' base table is present.
'skip base'
=>
array
(
'file_managed'
,
'node
'
,
'node_field_revision'
,
'users'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'file_managed'
,
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'fid'
,
'relationship'
=>
array
(
'title'
=>
t
(
'File'
),
...
...
@@ -218,7 +218,7 @@ public function getViewsData() {
'help'
=>
t
(
'A taxonomy term that is associated with this file, usually because this file is in a field on the taxonomy term.'
),
// Only provide this field/relationship/etc.,
// when the 'file_managed' base table is present.
'skip base'
=>
array
(
'node
'
,
'node_field_revision'
,
'users'
,
'comment'
,
'taxonomy_term
_data'
),
'skip base'
=>
array
(
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'comment_field_data'
,
'taxonomy_term_field
_data'
),
'real field'
=>
'id'
,
'relationship'
=>
array
(
'title'
=>
t
(
'Taxonomy Term'
),
...
...
@@ -234,7 +234,7 @@ public function getViewsData() {
'help'
=>
t
(
'A file that is associated with this taxonomy term, usually because it is in a field on the taxonomy term.'
),
// Only provide this field/relationship/etc.,
// when the 'taxonomy_term_data' base table is present.
'skip base'
=>
array
(
'file_managed'
,
'node
'
,
'node_field_revision'
,
'users'
,
'comment
'
),
'skip base'
=>
array
(
'file_managed'
,
'node
_field_data'
,
'node_field_revision'
,
'users_field_data'
,
'comment_field_data
'
),
'real field'
=>
'fid'
,
'relationship'
=>
array
(
'title'
=>
t
(
'File'
),
...
...
core/modules/file/tests/modules/file_test_views/test_views/views.view.test_file_user_file_data.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: test_file_user_file_data
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
users
base_table
:
users
_field_data
base_field
:
uid
core
:
8.x
display
:
...
...
core/modules/history/history.views.inc
View file @
ebcca481
...
...
@@ -19,7 +19,7 @@ function history_views_data() {
// Explain how this table joins to others.
$data
[
'history'
][
'table'
][
'join'
]
=
array
(
// Directly links to node table.
'node'
=>
array
(
'node
_field_data
'
=>
array
(
'table'
=>
'history'
,
'left_field'
=>
'nid'
,
'field'
=>
'nid'
,
...
...
core/modules/image/tests/modules/image_test_views/test_views/views.view.test_image_user_image_data.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: test_image_user_image_data
module
:
views
description
:
'
'
tag
:
'
'
base_table
:
users
base_table
:
users
_field_data
base_field
:
uid
core
:
8.x
display
:
...
...
core/modules/node/config/install/views.view.archive.yml
View file @
ebcca481
...
...
@@ -8,7 +8,7 @@ label: Archive
module
:
node
description
:
'
All
content,
by
month.'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
'
8'
display
:
...
...
core/modules/node/config/install/views.view.content.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: Content
module
:
node
description
:
'
Find
and
manage
content.'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
8.x
display
:
...
...
core/modules/node/config/install/views.view.content_recent.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: 'Recent content'
module
:
node
description
:
'
Recent
content.'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
8.x
display
:
...
...
core/modules/node/config/install/views.view.frontpage.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: Frontpage
module
:
node
description
:
'
All
content
promoted
to
the
front
page.'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
8.x
display
:
...
...
core/modules/node/config/install/views.view.glossary.yml
View file @
ebcca481
...
...
@@ -9,7 +9,7 @@ label: Glossary
module
:
node
description
:
'
All
content,
by
letter.'
tag
:
default
base_table
:
node
base_table
:
node
_field_data
base_field
:
nid
core
:
'
8'
display
:
...
...
core/modules/node/src/NodeViewsData.php
View file @
ebcca481
...
...
@@ -20,12 +20,12 @@ class NodeViewsData extends EntityViewsData {
public
function
getViewsData
()
{
$data
=
parent
::
getViewsData
();
$data
[
'node'
][
'table'
][
'base'
][
'weight'
]
=
-
10
;
$data
[
'node'
][
'table'
][
'base'
][
'access query tag'
]
=
'node_access'
;
$data
[
'node'
][
'table'
][
'wizard_id'
]
=
'node'
;
$data
[
'node
_field_data
'
][
'table'
][
'base'
][
'weight'
]
=
-
10
;
$data
[
'node
_field_data
'
][
'table'
][
'base'
][
'access query tag'
]
=
'node_access'
;
$data
[
'node
_field_data
'
][
'table'
][
'wizard_id'
]
=
'node'
;
$data
[
'node'
][
'nid'
][
'field'
][
'id'
]
=
'node'
;
$data
[
'node'
][
'nid'
][
'field'
][
'argument'
]
=
[
$data
[
'node
_field_data
'
][
'nid'
][
'field'
][
'id'
]
=
'node'
;
$data
[
'node
_field_data
'
][
'nid'
][
'field'
][
'argument'
]
=
[
'id'
=>
'node_nid'
,
'name field'
=>
'title'
,
'numeric'
=>
TRUE
,
...
...
@@ -255,41 +255,41 @@ public function getViewsData() {
$data
[
'node_field_data'
][
'uid_revision'
][
'filter'
][
'id'
]
=
'node_uid_revision'
;
$data
[
'node_field_data'
][
'uid_revision'
][
'argument'
][
'id'
]
=
'node_uid_revision'
;
$data
[
'node_revision'
][
'table'
][
'wizard_id'
]
=
'node_revision'
;
$data
[
'node_
field_
revision'
][
'table'
][
'wizard_id'
]
=
'node_revision'
;
// Advertise this table as a possible base table.
$data
[
'node_revision'
][
'table'
][
'base'
][
'help'
]
=
t
(
'Content revision is a history of changes to content.'
);
$data
[
'node_revision'
][
'table'
][
'base'
][
'defaults'
][
'title'
]
=
'title'
;
$data
[
'node_
field_
revision'
][
'table'
][
'base'
][
'help'
]
=
t
(
'Content revision is a history of changes to content.'
);
$data
[
'node_
field_
revision'
][
'table'
][
'base'
][
'defaults'
][
'title'
]
=
'title'
;
$data
[
'node_revision'
][
'nid'
][
'argument'
]
=
[
$data
[
'node_
field_
revision'
][
'nid'
][
'argument'
]
=
[
'id'
=>
'node_nid'
,
'numeric'
=>
TRUE
,
];
// @todo the NID field needs different behaviour on revision/non-revision
// tables. It would be neat if this could be encoded in the base field
// definition.
$data
[
'node_revision'
][
'nid'
][
'relationship'
][
'id'
]
=
'standard'
;
$data
[
'node_
revision'
][
'nid'
][
'relationship'
][
'base'
]
=
'node
'
;
$data
[
'node_revision'
][
'nid'
][
'relationship'
][
'base field'
]
=
'nid'
;
$data
[
'node_revision'
][
'nid'
][
'relationship'
][
'title'
]
=
t
(
'Content'
);
$data
[
'node_revision'
][
'nid'
][
'relationship'
][
'label'
]
=
t
(
'Get the actual content from a content revision.'
);
$data
[
'node_
field_
revision'
][
'nid'
][
'relationship'
][
'id'
]
=
'standard'
;