You are here

legacy-bulk-form-update.php in Drupal 8

Test fixture.

File

core/modules/views/tests/fixtures/update/legacy-bulk-form-update.php
View source
<?php

/**
 * @file
 * Test fixture.
 */
use Drupal\Core\Database\Database;
use Drupal\Core\Serialization\Yaml;
$connection = Database::getConnection();
$connection
  ->insert('config')
  ->fields([
  'collection' => '',
  'name' => 'views.view.legacy_bulk_form',
  'data' => serialize(Yaml::decode(file_get_contents(__DIR__ . '/views.view.legacy_bulk_form.yml'))),
])
  ->execute();