entity-id-argument.php

Same filename in other branches
  1. 11.x core/modules/views/tests/fixtures/update/entity-id-argument.php

Test fixture.

File

core/modules/views/tests/fixtures/update/entity-id-argument.php

View source
<?php


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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.