Drupal6SystemLogging.php 557 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<?php

/**
 * @file
 * Contains \Drupal\migrate_drupal\Tests\Dump\Drupal6SystemLogging.
 */

namespace Drupal\migrate_drupal\Tests\Dump;

/**
 * Database dump for testing system.logging.yml migration.
 */
class Drupal6SystemLogging extends Drupal6DumpBase {

  /**
   * {@inheritdoc}
   */
  public function load() {
    $this->createTable('variable');
    $this->database->insert('variable')->fields(array(
      'name',
      'value',
    ))
    ->values(array(
      'name' => 'error_level',
      'value' => serialize(1),
    ))
    ->execute();
  }

}