drupal-7.module_name_length.database.php 570 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

/**
 * @file
 * Database additions for \Drupal\system\Tests\Upgrade\ExistingModuleNameLengthUpgradePathTest.
 *
 * The drupal-7.bare.database.php file is imported before this dump, so the
 * two form the database structure expected in tests altogether.
 */

db_insert('system')
  ->fields(array(
    'filename' => 'modules/invalid_module_name_over_the_maximum_allowed_character_length.module',
    'name' => 'invalid_module_name_over_the_maximum_allowed_character_length',
    'type' => 'module',
    'status' => 1,
    'schema_version' => 0,
  ))
  ->execute();