Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Test fixture.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Database\Database;
|
||||
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Test fixture.
|
||||
*/
|
||||
|
||||
$connection = Drupal\Core\Database\Database::getConnection();
|
||||
$config = $connection;
|
||||
|
||||
|
|
22
core/modules/system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.php
vendored
Normal file
22
core/modules/system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.php
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains database additions to drupal-8-rc1.bare.standard.php.gz for testing
|
||||
* the upgrade path of https://www.drupal.org/node/2649914.
|
||||
*/
|
||||
|
||||
use Drupal\Component\Serialization\Yaml;
|
||||
use Drupal\Core\Database\Database;
|
||||
|
||||
$connection = Database::getConnection();
|
||||
|
||||
$views_config = Yaml::decode(file_get_contents(__DIR__ . '/drupal8.views-image-style-dependency-2649914.yml'));
|
||||
|
||||
$connection->insert('config')
|
||||
->fields(['collection', 'name', 'data'])
|
||||
->values([
|
||||
'collection' => '',
|
||||
'name' => 'views.view.' . $views_config['id'],
|
||||
'data' => serialize($views_config),
|
||||
])->execute();
|
43
core/modules/system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.yml
vendored
Normal file
43
core/modules/system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.yml
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_image
|
||||
module:
|
||||
- image
|
||||
- node
|
||||
id: foo
|
||||
label: Foo
|
||||
module: views
|
||||
description: ''
|
||||
tag: ''
|
||||
base_table: node_field_data
|
||||
base_field: nid
|
||||
core: 8.x
|
||||
display:
|
||||
default:
|
||||
display_plugin: default
|
||||
id: default
|
||||
display_title: Master
|
||||
position: 0
|
||||
display_options:
|
||||
fields:
|
||||
field_image:
|
||||
id: field_image
|
||||
table: node__field_image
|
||||
field: field_image
|
||||
type: image
|
||||
settings:
|
||||
image_style: thumbnail
|
||||
image_link: ''
|
||||
plugin_id: field
|
||||
field_image_1:
|
||||
id: field_image_1
|
||||
table: node__field_image
|
||||
field: field_image
|
||||
type: image
|
||||
settings:
|
||||
# This field's formatter is using a non-existent image style.
|
||||
image_style: nonexistent
|
||||
image_link: ''
|
||||
plugin_id: field
|
Reference in a new issue