dblog-2851293.php 436 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * @file
  4. * Test fixture.
  5. */
  6. use Drupal\Core\Database\Database;
  7. use Drupal\Core\Serialization\Yaml;
  8. $connection = Database::getConnection();
  9. $connection->insert('config')
  10. ->fields([
  11. 'collection' => '',
  12. 'name' => 'views.view.dblog_2851293',
  13. 'data' => serialize(Yaml::decode(file_get_contents('core/modules/dblog/tests/modules/dblog_test_views/test_views/views.view.dblog_2851293.yml'))),
  14. ])
  15. ->execute();