Mercurial > hg > isophonics-drupal-site
comparison core/modules/views/tests/fixtures/update/duplicate-field-handler.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Test fixture. | |
6 */ | |
7 | |
8 use Drupal\Core\Database\Database; | |
9 use Drupal\Core\Serialization\Yaml; | |
10 | |
11 $connection = Database::getConnection(); | |
12 | |
13 $connection->insert('config') | |
14 ->fields([ | |
15 'collection' => '', | |
16 'name' => 'views.view.test_duplicate_field_handlers', | |
17 'data' => serialize(Yaml::decode(file_get_contents('core/modules/views/tests/modules/views_test_config/test_views/views.view.test_duplicate_field_handlers.yml'))), | |
18 ]) | |
19 ->execute(); |