From 336e2e103455e2e84f3291fcc4d53d8aac1bb082 Mon Sep 17 00:00:00 2001 From: damiankloip <damiankloip@1037976.no-reply.drupal.org> Date: Wed, 29 Aug 2012 19:48:06 +0200 Subject: [PATCH] Issue #1760838 by damiankloip, dawehner: Update core/api_version() of all the views. --- config/views.view.archive.yml | 2 +- config/views.view.backlinks.yml | 2 +- config/views.view.comments_recent.yml | 2 +- config/views.view.frontpage.yml | 2 +- config/views.view.glossary.yml | 2 +- config/views.view.taxonomy_term.yml | 2 +- config/views.view.tracker.yml | 2 +- help/api-upgrading.html | 2 +- lib/Drupal/views/Tests/Comment/CommentTestBase.php | 2 +- .../views/Tests/Field/HandlerFieldFieldTest.php | 2 +- .../views/Tests/Handler/ArgumentStringTest.php | 2 +- lib/Drupal/views/Tests/Handler/FilterDateTest.php | 2 +- lib/Drupal/views/Tests/Plugin/AccessTest.php | 10 +++++----- .../views/Tests/Plugin/ArgumentDefaultTest.php | 2 +- .../views/Tests/Plugin/ArgumentValidatorTest.php | 4 ++-- lib/Drupal/views/Tests/Plugin/DisplayTest.php | 4 ++-- lib/Drupal/views/Tests/Plugin/PagerTest.php | 12 ++++++------ lib/Drupal/views/Tests/QueryGroupByTest.php | 6 +++--- .../Tests/Taxonomy/RelationshipNodeTermDataTest.php | 2 +- lib/Drupal/views/Tests/TranslatableTest.php | 2 +- lib/Drupal/views/Tests/UpgradeTestCase.php | 10 +++++----- lib/Drupal/views/Tests/User/ArgumentDefaultTest.php | 2 +- lib/Drupal/views/Tests/User/ArgumentValidateTest.php | 2 +- .../views/Tests/User/HandlerFieldUserNameTest.php | 2 +- lib/Drupal/views/Tests/User/UserTest.php | 4 ++-- lib/Drupal/views/Tests/ViewTest.php | 6 +++--- modules/node.views_template.inc | 2 +- ...views.view.test_argument_default_current_user.yml | 4 ++-- .../config/views.view.test_exposed_admin_ui.yml | 4 ++-- .../config/views.view.test_filter_in_operator_ui.yml | 4 ++-- .../config/views.view.test_page_display.yml | 4 ++-- .../config/views.view.test_rename_reset_button.yml | 2 +- .../config/views.view.test_views_groupby_save.yml | 4 ++-- views.api.php | 4 ++-- 34 files changed, 60 insertions(+), 60 deletions(-) diff --git a/config/views.view.archive.yml b/config/views.view.archive.yml index 34961d5da120..b3ec4c13c3a7 100644 --- a/config/views.view.archive.yml +++ b/config/views.view.archive.yml @@ -5,7 +5,7 @@ description: 'Display a list of months that link to content for that month.' tag: default base_table: node human_name: Archive -core: '0' +core: '8' display: default: id: default diff --git a/config/views.view.backlinks.yml b/config/views.view.backlinks.yml index 480b890cc1cc..2608b7055db0 100644 --- a/config/views.view.backlinks.yml +++ b/config/views.view.backlinks.yml @@ -5,7 +5,7 @@ description: 'Displays a list of nodes that link to the node, using the search b tag: default base_table: node human_name: Backlinks -core: '0' +core: '8' display: default: id: default diff --git a/config/views.view.comments_recent.yml b/config/views.view.comments_recent.yml index 9aae19dacc7e..ff99fb3611ac 100644 --- a/config/views.view.comments_recent.yml +++ b/config/views.view.comments_recent.yml @@ -5,7 +5,7 @@ description: 'Contains a block and a page to list recent comments; the block wil tag: default base_table: comment human_name: 'Recent comments' -core: '0' +core: '8' display: default: id: default diff --git a/config/views.view.frontpage.yml b/config/views.view.frontpage.yml index fc1b8ec95bfe..47921767ab3d 100644 --- a/config/views.view.frontpage.yml +++ b/config/views.view.frontpage.yml @@ -5,7 +5,7 @@ description: 'Emulates the default Drupal front page; you may set the default ho tag: default base_table: node human_name: 'Front page' -core: '0' +core: '8' display: default: id: default diff --git a/config/views.view.glossary.yml b/config/views.view.glossary.yml index 4323f23f8964..417f8b72e8ea 100644 --- a/config/views.view.glossary.yml +++ b/config/views.view.glossary.yml @@ -5,7 +5,7 @@ description: 'A list of all content, by letter.' tag: default base_table: node human_name: Glossary -core: '0' +core: '8' display: default: id: default diff --git a/config/views.view.taxonomy_term.yml b/config/views.view.taxonomy_term.yml index 035e3a4954a2..b1245bc98764 100644 --- a/config/views.view.taxonomy_term.yml +++ b/config/views.view.taxonomy_term.yml @@ -5,7 +5,7 @@ description: 'A view to emulate Drupal core''s handling of taxonomy/term.' tag: default base_table: node human_name: 'Taxonomy term' -core: '7' +core: '8' display: default: id: default diff --git a/config/views.view.tracker.yml b/config/views.view.tracker.yml index 7cbc463ed116..9b178298edca 100644 --- a/config/views.view.tracker.yml +++ b/config/views.view.tracker.yml @@ -5,7 +5,7 @@ description: 'Shows all new activity on system.' tag: default base_table: node human_name: Tracker -core: '0' +core: '8' display: default: id: default diff --git a/help/api-upgrading.html b/help/api-upgrading.html index 158f80916de2..f17ff23ae544 100644 --- a/help/api-upgrading.html +++ b/help/api-upgrading.html @@ -10,7 +10,7 @@ <h3>Handler registry</h3> <pre> name = Example module description = "Gives an example of a module." -core = 7.x +core = 8.x files[] = example.module files[] = example.install diff --git a/lib/Drupal/views/Tests/Comment/CommentTestBase.php b/lib/Drupal/views/Tests/Comment/CommentTestBase.php index def2edfe5fce..390da88d31c3 100644 --- a/lib/Drupal/views/Tests/Comment/CommentTestBase.php +++ b/lib/Drupal/views/Tests/Comment/CommentTestBase.php @@ -50,7 +50,7 @@ function view_comment_user_uid() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_comment_user_uid'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php b/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php index b0b6e20498c0..10f922f8f667 100644 --- a/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php +++ b/lib/Drupal/views/Tests/Field/HandlerFieldFieldTest.php @@ -207,7 +207,7 @@ protected function getFieldView() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'view_fieldapi'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/Handler/ArgumentStringTest.php b/lib/Drupal/views/Tests/Handler/ArgumentStringTest.php index dc83ecbc612c..6ce27ae7c66d 100644 --- a/lib/Drupal/views/Tests/Handler/ArgumentStringTest.php +++ b/lib/Drupal/views/Tests/Handler/ArgumentStringTest.php @@ -67,7 +67,7 @@ function viewGlossary() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_glossary'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/Handler/FilterDateTest.php b/lib/Drupal/views/Tests/Handler/FilterDateTest.php index 2a2018af5de2..02d160d38510 100644 --- a/lib/Drupal/views/Tests/Handler/FilterDateTest.php +++ b/lib/Drupal/views/Tests/Handler/FilterDateTest.php @@ -161,7 +161,7 @@ function views_test_between() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = ''; - $view->core = 0; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/Plugin/AccessTest.php b/lib/Drupal/views/Tests/Plugin/AccessTest.php index 34b5d4277d56..14c043d1e8e4 100644 --- a/lib/Drupal/views/Tests/Plugin/AccessTest.php +++ b/lib/Drupal/views/Tests/Plugin/AccessTest.php @@ -152,7 +152,7 @@ function view_access_none() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -175,7 +175,7 @@ function view_access_perm() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -199,7 +199,7 @@ function view_access_role() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -225,7 +225,7 @@ function view_access_dynamic() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -251,7 +251,7 @@ function view_access_static() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php b/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php index c0ced549a133..4b578c5dbc2c 100644 --- a/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php +++ b/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php @@ -103,7 +103,7 @@ function view_argument_default_fixed() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php b/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php index 5280b0008028..bfedac4c60d7 100644 --- a/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php +++ b/lib/Drupal/views/Tests/Plugin/ArgumentValidatorTest.php @@ -54,7 +54,7 @@ function view_test_argument_validate_php($string) { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -86,7 +86,7 @@ function view_argument_validate_numeric() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/Plugin/DisplayTest.php b/lib/Drupal/views/Tests/Plugin/DisplayTest.php index 25dd52abaccf..372e4538f734 100644 --- a/lib/Drupal/views/Tests/Plugin/DisplayTest.php +++ b/lib/Drupal/views/Tests/Plugin/DisplayTest.php @@ -48,7 +48,7 @@ function viewFilterGroupsOverriding() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_filter_group_override'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ @@ -97,7 +97,7 @@ function viewFilterGroupsUpdating() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_filter_groups'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/Plugin/PagerTest.php b/lib/Drupal/views/Tests/Plugin/PagerTest.php index 2db6131b756b..c129ffeec197 100644 --- a/lib/Drupal/views/Tests/Plugin/PagerTest.php +++ b/lib/Drupal/views/Tests/Plugin/PagerTest.php @@ -103,7 +103,7 @@ public function viewsStorePagerSettings() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -162,7 +162,7 @@ public function viewsPagerNoLimit() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version =3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -238,7 +238,7 @@ public function viewsPagerLimit() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -322,7 +322,7 @@ function viewPagerFullZeroItemsPerPage() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -362,7 +362,7 @@ function viewsPagerFull() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -388,7 +388,7 @@ function viewsPagerFullFields() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 3; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/QueryGroupByTest.php b/lib/Drupal/views/Tests/QueryGroupByTest.php index 4ccfdbea6fb6..2f91a27a7151 100644 --- a/lib/Drupal/views/Tests/QueryGroupByTest.php +++ b/lib/Drupal/views/Tests/QueryGroupByTest.php @@ -71,7 +71,7 @@ public function viewsAggregateCountView() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = ''; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ @@ -157,7 +157,7 @@ function viewsGroupByViewHelper($group_by) { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -251,7 +251,7 @@ public function viewsGroupByCountViewOnlyFilters() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/Taxonomy/RelationshipNodeTermDataTest.php b/lib/Drupal/views/Tests/Taxonomy/RelationshipNodeTermDataTest.php index fe927407f9b5..0e3923eafee6 100644 --- a/lib/Drupal/views/Tests/Taxonomy/RelationshipNodeTermDataTest.php +++ b/lib/Drupal/views/Tests/Taxonomy/RelationshipNodeTermDataTest.php @@ -82,7 +82,7 @@ function view_taxonomy_node_term_data() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = 'test_taxonomy_node_term_data'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/TranslatableTest.php b/lib/Drupal/views/Tests/TranslatableTest.php index 14a7e8eb5c3b..91f674d72379 100644 --- a/lib/Drupal/views/Tests/TranslatableTest.php +++ b/lib/Drupal/views/Tests/TranslatableTest.php @@ -148,7 +148,7 @@ public function view_unpack_translatable() { $view->description = ''; $view->tag = ''; $view->base_table = 'node'; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/UpgradeTestCase.php b/lib/Drupal/views/Tests/UpgradeTestCase.php index d770306675e3..affe8afdcc4a 100644 --- a/lib/Drupal/views/Tests/UpgradeTestCase.php +++ b/lib/Drupal/views/Tests/UpgradeTestCase.php @@ -127,7 +127,7 @@ public function viewsMovedToField() { $view->view_php = ''; $view->base_table = 'views_test'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -148,7 +148,7 @@ public function viewsMovedToHandler() { $view->view_php = ''; $view->base_table = 'views_test'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -173,7 +173,7 @@ public function viewsMovedToTable() { $view->view_php = ''; $view->base_table = 'views_old_table'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -194,8 +194,8 @@ protected function viewUpgradeImport() { $view->tag = "default"; $view->base_table = "comments"; $view->human_name = ""; - $view->core = 0; - $view->api_version = "3.0-alpha1"; + $view->core = 8; + $view->api_version = "3.0"; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Defaults */ diff --git a/lib/Drupal/views/Tests/User/ArgumentDefaultTest.php b/lib/Drupal/views/Tests/User/ArgumentDefaultTest.php index f232e5318c6f..b967911fc0f3 100644 --- a/lib/Drupal/views/Tests/User/ArgumentDefaultTest.php +++ b/lib/Drupal/views/Tests/User/ArgumentDefaultTest.php @@ -53,7 +53,7 @@ function view_plugin_argument_default_current_user() { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/User/ArgumentValidateTest.php b/lib/Drupal/views/Tests/User/ArgumentValidateTest.php index ed3c22941362..977c50f76f86 100644 --- a/lib/Drupal/views/Tests/User/ArgumentValidateTest.php +++ b/lib/Drupal/views/Tests/User/ArgumentValidateTest.php @@ -94,7 +94,7 @@ function view_argument_validate_user($argtype) { $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; - $view->api_version = 2; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/User/HandlerFieldUserNameTest.php b/lib/Drupal/views/Tests/User/HandlerFieldUserNameTest.php index 2b0e0f037de4..7ad1414bdfa9 100644 --- a/lib/Drupal/views/Tests/User/HandlerFieldUserNameTest.php +++ b/lib/Drupal/views/Tests/User/HandlerFieldUserNameTest.php @@ -64,7 +64,7 @@ function view_user_name() { $view->tag = 'default'; $view->base_table = 'users'; $view->human_name = 'test_views_handler_field_user_name'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ diff --git a/lib/Drupal/views/Tests/User/UserTest.php b/lib/Drupal/views/Tests/User/UserTest.php index 0e0d44375755..9036c55e8c32 100644 --- a/lib/Drupal/views/Tests/User/UserTest.php +++ b/lib/Drupal/views/Tests/User/UserTest.php @@ -73,8 +73,8 @@ function test_view_user_relationship() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_user_relationship'; - $view->core = 7; - $view->api_version = '3.0-alpha1'; + $view->core = 8; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ diff --git a/lib/Drupal/views/Tests/ViewTest.php b/lib/Drupal/views/Tests/ViewTest.php index c0866626dc1a..c7543d77566f 100644 --- a/lib/Drupal/views/Tests/ViewTest.php +++ b/lib/Drupal/views/Tests/ViewTest.php @@ -97,7 +97,7 @@ function view_test_destroy() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = ''; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -253,8 +253,8 @@ function view_test_delete() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = 'test_view_delete'; - $view->core = 7; - $view->api_version = '3.0-alpha1'; + $view->core = 8; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Defaults */ diff --git a/modules/node.views_template.inc b/modules/node.views_template.inc index a564a87d6d80..a2da7fa3d8e3 100644 --- a/modules/node.views_template.inc +++ b/modules/node.views_template.inc @@ -16,7 +16,7 @@ function node_views_templates() { $view->tag = ''; $view->base_table = 'node'; $view->human_name = 'Image Gallery'; - $view->core = 7; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = TRUE; /* Edit this to true to make a default view disabled initially */ diff --git a/tests/views_test/config/views.view.test_argument_default_current_user.yml b/tests/views_test/config/views.view.test_argument_default_current_user.yml index e64a92ac8a7f..9e589ee3a535 100644 --- a/tests/views_test/config/views.view.test_argument_default_current_user.yml +++ b/tests/views_test/config/views.view.test_argument_default_current_user.yml @@ -1,6 +1,6 @@ -api_version: '3' +api_version: '3.0' base_table: node -core: { } +core: '8' description: '' disabled: '0' display: diff --git a/tests/views_test/config/views.view.test_exposed_admin_ui.yml b/tests/views_test/config/views.view.test_exposed_admin_ui.yml index 580bf4c74bc9..22bb89fb136d 100644 --- a/tests/views_test/config/views.view.test_exposed_admin_ui.yml +++ b/tests/views_test/config/views.view.test_exposed_admin_ui.yml @@ -1,6 +1,6 @@ -api_version: '2' +api_version: '3.0' base_table: node -core: { } +core: '8' description: '' disabled: '0' display: diff --git a/tests/views_test/config/views.view.test_filter_in_operator_ui.yml b/tests/views_test/config/views.view.test_filter_in_operator_ui.yml index f07be91afbb5..99140dc0b48d 100644 --- a/tests/views_test/config/views.view.test_filter_in_operator_ui.yml +++ b/tests/views_test/config/views.view.test_filter_in_operator_ui.yml @@ -1,6 +1,6 @@ -api_version: '2' +api_version: '3.0' base_table: node -core: { } +core: '8' description: '' disabled: '0' display: diff --git a/tests/views_test/config/views.view.test_page_display.yml b/tests/views_test/config/views.view.test_page_display.yml index 448e44ea2ef5..d80c27e74d3d 100644 --- a/tests/views_test/config/views.view.test_page_display.yml +++ b/tests/views_test/config/views.view.test_page_display.yml @@ -1,6 +1,6 @@ -api_version: '2' +api_version: '3.0' base_table: node -core: { } +core: '8' description: '' disabled: '0' display: diff --git a/tests/views_test/config/views.view.test_rename_reset_button.yml b/tests/views_test/config/views.view.test_rename_reset_button.yml index 04b627c06dac..60266ce47ecd 100644 --- a/tests/views_test/config/views.view.test_rename_reset_button.yml +++ b/tests/views_test/config/views.view.test_rename_reset_button.yml @@ -1,6 +1,6 @@ api_version: '3.0' base_table: node -core: '0' +core: '8' description: '' disabled: '0' display: diff --git a/tests/views_test/config/views.view.test_views_groupby_save.yml b/tests/views_test/config/views.view.test_views_groupby_save.yml index 97cbeb26cea0..d9d4c11221c7 100644 --- a/tests/views_test/config/views.view.test_views_groupby_save.yml +++ b/tests/views_test/config/views.view.test_views_groupby_save.yml @@ -1,6 +1,6 @@ -api_version: '2' +api_version: '3.0' base_table: node -core: { } +core: '8' description: '' disabled: '0' display: diff --git a/views.api.php b/views.api.php index f07fbb8c7488..a8d04a1da97a 100644 --- a/views.api.php +++ b/views.api.php @@ -102,7 +102,7 @@ * @code * name = Example module * description = "Gives an example of a module." - * core = 7.x + * core = 8.x * files[] = example.module * files[] = example.install * @@ -673,7 +673,7 @@ function hook_views_default_views() { $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Front page'; - $view->core = 0; + $view->core = 8; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ -- GitLab