Commit 3f8b6a1a authored by webchick's avatar webchick

Issue #1894784 by dawehner: Remove api_version from views

parent 38a36d4e
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: form
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
id: test_node_revision_nid
base_table: node_revision
core: 8
api_version: 3
display:
default:
display_options:
......
id: test_node_revision_vid
base_table: node_revision
core: 8
api_version: 3
display:
default:
display_options:
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: test_status_extra
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: 'Test serialize display entity rows'
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: 'Test serializer display field rows'
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
api_version: '3.0'
base_field: tid
base_table: taxonomy_term_data
core: 8.0-dev
......
api_version: '3.0'
base_field: uid
base_table: users
core: 8.0-dev
......
api_version: '3.0'
base_table: users
core: '8'
description: ''
......
disabled: true
api_version: '3.0'
module: node
id: archive
description: 'A list of months that link to content for that month.'
......
disabled: true
api_version: '3.0'
module: search
id: backlinks
description: 'A list of other content items which have a link to the content item.'
......
disabled: true
api_version: '3.0'
module: comment
id: comments_recent
description: 'A block and a page with recent comments.'
......
disabled: true
api_version: '3.0'
module: node
id: frontpage
description: 'Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.'
......
disabled: true
api_version: '3.0'
module: node
id: glossary
description: 'A list of all content, by letter.'
......
disabled: true
api_version: '3.0'
module: taxonomy
id: taxonomy_term
description: 'Customize the default taxonomy/term display.'
......
disabled: true
api_version: '3.0'
module: node
id: tracker
description: 'Shows all new activity on the system.'
......
......@@ -85,13 +85,6 @@ class View extends ConfigEntityBase implements ViewStorageInterface {
*/
protected $core = DRUPAL_CORE_COMPATIBILITY;
/**
* The views API version this view was created by.
*
* @var string
*/
protected $api_version = VIEWS_API_VERSION;
/**
* Stores all display handlers of this view.
*
......@@ -389,7 +382,6 @@ public function getPaths() {
*/
public function getExportProperties() {
$names = array(
'api_version',
'base_field',
'base_table',
'core',
......
......@@ -36,7 +36,6 @@ class ViewExecutableTest extends ViewUnitTestBase {
*/
protected $configProperties = array(
'disabled',
'api_version',
'name',
'description',
'tag',
......
......@@ -28,7 +28,6 @@ class ViewStorageTest extends ViewUnitTestBase {
*/
protected $config_properties = array(
'disabled',
'api_version',
'module',
'id',
'description',
......@@ -378,7 +377,6 @@ public function testCreateDuplicate() {
// @todo Create a reusable property on the base test class for these?
$config_properties = array(
'disabled',
'api_version',
'description',
'tag',
'base_table',
......
api_version: '3.0'
base_table: users
core: 8.0-dev
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_field: id
base_table: views_test_data
core: 8.x
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: node
core: 8.0-dev
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: comment
core: 8.0-dev
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: 8
disabled: false
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: test_get_attach_displays
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
api_version: '3.0'
base_field: id
base_table: views_test_data
core: 8.x
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: test_redirect_view
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
......@@ -4,7 +4,6 @@ description: 'Test view to token replacement tests.'
tag: ''
human_name: 'Test tokens'
core: 8.x
api_version: '3.0'
display:
default:
display_options:
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
api_version: '3.0'
base_table: views_test_data
core: '8'
description: ''
......
......@@ -4,7 +4,6 @@ description: ''
tag: ''
human_name: test_view_status
core: 8.x
api_version: '3.0'
display:
default:
display_plugin: default
......
api_version: '3.0'
base_table: views_test_data
core: '8'
module: views
......
......@@ -14,11 +14,6 @@
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\views\Plugin\Core\Entity\View;
/**
* Views API version string.
*/
const VIEWS_API_VERSION = '3.0';
/**
* Implements hook_forms().
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment