Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\migrate_drupal\Plugin\migrate\builder\d6\CckBuilder.
|
||||
*/
|
||||
|
||||
namespace Drupal\migrate_drupal\Plugin\migrate\builder\d6;
|
||||
|
||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||
use Drupal\migrate\Plugin\migrate\builder\BuilderBase;
|
||||
use Drupal\migrate\Plugin\MigratePluginManager;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Base class for builders which leverage cckfield plugins.
|
||||
*/
|
||||
abstract class CckBuilder extends BuilderBase implements ContainerFactoryPluginInterface {
|
||||
|
||||
/**
|
||||
* The cckfield plugin manager.
|
||||
*
|
||||
* @var \Drupal\migrate\Plugin\MigratePluginManager
|
||||
*/
|
||||
protected $cckPluginManager;
|
||||
|
||||
/**
|
||||
* Constructs a CckBuilder.
|
||||
*
|
||||
* @param array $configuration
|
||||
* Plugin configuration.
|
||||
* @param string $plugin_id
|
||||
* The plugin ID.
|
||||
* @param mixed $plugin_definition
|
||||
* The plugin definition.
|
||||
* @param \Drupal\migrate\Plugin\MigratePluginManager $cck_manager
|
||||
* The cckfield plugin manager.
|
||||
*/
|
||||
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigratePluginManager $cck_manager) {
|
||||
parent::__construct($configuration, $plugin_id, $plugin_definition);
|
||||
$this->cckPluginManager = $cck_manager;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
|
||||
return new static(
|
||||
$configuration,
|
||||
$plugin_id,
|
||||
$plugin_definition,
|
||||
$container->get('plugin.manager.migrate.cckfield')
|
||||
);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\migrate_drupal\Plugin\migrate\builder\d6\CckMigration.
|
||||
*/
|
||||
|
||||
namespace Drupal\migrate_drupal\Plugin\migrate\builder\d6;
|
||||
|
||||
use Drupal\migrate\Entity\Migration;
|
||||
|
||||
/**
|
||||
* @PluginID("d6_cck_migration")
|
||||
*/
|
||||
class CckMigration extends CckBuilder {
|
||||
|
||||
/**
|
||||
* List of cckfield plugin IDs which have already run.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected $processedFieldTypes = [];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function buildMigrations(array $template) {
|
||||
$migration = Migration::create($template);
|
||||
|
||||
// Loop through every field that will be migrated.
|
||||
foreach ($migration->getSourcePlugin() as $field) {
|
||||
$field_type = $field->getSourceProperty('type');
|
||||
|
||||
// Each field type should only be processed once.
|
||||
if (in_array($field_type, $this->processedFieldTypes)) {
|
||||
continue;
|
||||
}
|
||||
// Only process the current field type if a relevant cckfield plugin
|
||||
// exists.
|
||||
elseif ($this->cckPluginManager->hasDefinition($field_type)) {
|
||||
$this->processedFieldTypes[] = $field_type;
|
||||
// Allow the cckfield plugin to alter the migration as necessary so that
|
||||
// it knows how to handle fields of this type.
|
||||
$this->cckPluginManager
|
||||
->createInstance($field_type, [], $migration)
|
||||
->{$this->configuration['cck_plugin_method']}($migration);
|
||||
}
|
||||
}
|
||||
|
||||
return [$migration];
|
||||
}
|
||||
|
||||
}
|
|
@ -10,7 +10,7 @@ namespace Drupal\migrate_drupal\Plugin\migrate\destination;
|
|||
use Drupal\Core\Entity\EntityStorageInterface;
|
||||
use Drupal\Core\Field\FieldTypePluginManagerInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Drupal\migrate_drupal\Entity\MigrationInterface;
|
||||
use Drupal\migrate\Entity\MigrationInterface;
|
||||
use Drupal\migrate\Plugin\migrate\destination\EntityFieldStorageConfig as BaseEntityFieldStorageConfig;
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Drupal\migrate_drupal\Plugin\migrate\source;
|
|||
use Drupal\Component\Plugin\DependentPluginInterface;
|
||||
use Drupal\Core\Entity\DependencyTrait;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Drupal\migrate_drupal\Entity\MigrationInterface;
|
||||
use Drupal\migrate\Entity\MigrationInterface;
|
||||
use Drupal\migrate\Plugin\migrate\source\EmptySource as BaseEmptySource;
|
||||
use Drupal\Core\Entity\EntityManagerInterface;
|
||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||
|
|
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity.
|
||||
*/
|
||||
|
||||
namespace Drupal\migrate_drupal\Plugin\migrate\source\d7;
|
||||
|
||||
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
|
||||
|
||||
/**
|
||||
* Base class for D7 source plugins which need to collect field values from
|
||||
* the Field API.
|
||||
*/
|
||||
abstract class FieldableEntity extends DrupalSqlBase {
|
||||
|
||||
/**
|
||||
* Returns all non-deleted field instances attached to a specific entity type.
|
||||
*
|
||||
* @param string $entity_type
|
||||
* The entity type ID.
|
||||
* @param string|NULL $bundle
|
||||
* (optional) The bundle.
|
||||
*
|
||||
* @return array[]
|
||||
* The field instances, keyed by field name.
|
||||
*/
|
||||
protected function getFields($entity_type, $bundle = NULL) {
|
||||
return $this->select('field_config_instance', 'fci')
|
||||
->fields('fci')
|
||||
->condition('entity_type', $entity_type)
|
||||
->condition('bundle', isset($bundle) ? $bundle : $entity_type)
|
||||
->condition('deleted', 0)
|
||||
->execute()
|
||||
->fetchAllAssoc('field_name');
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves field values for a single field of a single entity.
|
||||
*
|
||||
* @param string $entity_type
|
||||
* The entity type.
|
||||
* @param string $field
|
||||
* The field name.
|
||||
* @param int $entity_id
|
||||
* The entity ID.
|
||||
* @param int|null $revision_id
|
||||
* (optional) The entity revision ID.
|
||||
*
|
||||
* @return array
|
||||
* The raw field values, keyed by delta.
|
||||
*
|
||||
* @todo Support multilingual field values.
|
||||
*/
|
||||
protected function getFieldValues($entity_type, $field, $entity_id, $revision_id = NULL) {
|
||||
$table = (isset($revision_id) ? 'field_revision_' : 'field_data_') . $field;
|
||||
$query = $this->select($table, 't')
|
||||
->fields('t')
|
||||
->condition('entity_type', $entity_type)
|
||||
->condition('entity_id', $entity_id)
|
||||
->condition('deleted', 0);
|
||||
if (isset($revision_id)) {
|
||||
$query->condition('revision_id', $revision_id);
|
||||
}
|
||||
$values = [];
|
||||
foreach ($query->execute() as $row) {
|
||||
foreach ($row as $key => $value) {
|
||||
$delta = $row['delta'];
|
||||
if (strpos($key, $field) === 0) {
|
||||
$column = substr($key, strlen($field) + 1);
|
||||
$values[$delta][$column] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $values;
|
||||
}
|
||||
|
||||
}
|
|
@ -23,14 +23,15 @@ abstract class MigrateDrupalTestBase extends MigrateTestBase {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $modules = array('system', 'user', 'field', 'migrate_drupal', 'options');
|
||||
public static $modules = array('system', 'user', 'field', 'migrate_drupal', 'options', 'file');
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->loadDumps(['System.php']);
|
||||
$tables = file_scan_directory($this->getDumpDirectory(), '/.php$/', array('recurse' => FALSE));
|
||||
$this->loadDumps(array_keys($tables));
|
||||
|
||||
$this->installEntitySchema('user');
|
||||
$this->installConfig(['migrate_drupal', 'system']);
|
||||
|
@ -46,14 +47,6 @@ abstract class MigrateDrupalTestBase extends MigrateTestBase {
|
|||
return __DIR__ . '/Table';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function loadDumps(array $files, $method = 'load') {
|
||||
$files = array_map(function($file) { return $this->getDumpDirectory() . '/' . $file; }, $files);
|
||||
parent::loadDumps($files, $method);
|
||||
}
|
||||
|
||||
/**
|
||||
* Turn all the migration templates for the specified drupal version into
|
||||
* real migration entities so we can test them.
|
||||
|
@ -63,9 +56,9 @@ abstract class MigrateDrupalTestBase extends MigrateTestBase {
|
|||
*/
|
||||
protected function installMigrations($version) {
|
||||
$migration_templates = \Drupal::service('migrate.template_storage')->findTemplatesByTag($version);
|
||||
foreach ($migration_templates as $template) {
|
||||
$migrations = \Drupal::service('migrate.migration_builder')->createMigrations($migration_templates);
|
||||
foreach ($migrations as $migration) {
|
||||
try {
|
||||
$migration = Migration::create($template);
|
||||
$migration->save();
|
||||
}
|
||||
catch (PluginNotFoundException $e) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace Drupal\migrate_drupal\Tests;
|
||||
|
||||
use Drupal\migrate\MigrateExecutable;
|
||||
use Drupal\migrate\Entity\Migration;
|
||||
use Drupal\simpletest\TestBase;
|
||||
|
||||
/**
|
||||
|
@ -16,25 +16,11 @@ use Drupal\simpletest\TestBase;
|
|||
abstract class MigrateFullDrupalTestBase extends MigrateDrupalTestBase {
|
||||
|
||||
/**
|
||||
* The test class which discovered migration tests must extend in order to be
|
||||
* included in this test run.
|
||||
*/
|
||||
const BASE_TEST_CLASS = 'Drupal\migrate_drupal\Tests\MigrateDrupalTestBase';
|
||||
|
||||
/**
|
||||
* A list of fully-qualified test classes which should be ignored.
|
||||
* The group to which tests should belong in order for this test to run them.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string
|
||||
*/
|
||||
protected static $blacklist = [];
|
||||
|
||||
/**
|
||||
* Get the dump classes required for this migration test.
|
||||
*
|
||||
* @return array
|
||||
* The list of files containing dumps.
|
||||
*/
|
||||
protected abstract function getDumps();
|
||||
const TEST_GROUP = '';
|
||||
|
||||
/**
|
||||
* Get the test classes that needs to be run for this test.
|
||||
|
@ -43,20 +29,8 @@ abstract class MigrateFullDrupalTestBase extends MigrateDrupalTestBase {
|
|||
* The list of fully-classified test class names.
|
||||
*/
|
||||
protected function getTestClassesList() {
|
||||
$classes = [];
|
||||
|
||||
$discovery = \Drupal::getContainer()->get('test_discovery');
|
||||
foreach (static::$modules as $module) {
|
||||
foreach ($discovery->getTestClasses($module) as $group) {
|
||||
foreach (array_keys($group) as $class) {
|
||||
if (is_subclass_of($class, static::BASE_TEST_CLASS)) {
|
||||
$classes[] = $class;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Exclude blacklisted classes.
|
||||
return array_diff($classes, static::$blacklist);
|
||||
$groups = \Drupal::getContainer()->get('test_discovery')->getTestClasses();
|
||||
return isset($groups[static::TEST_GROUP]) ? array_keys($groups[static::TEST_GROUP]) : [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -73,14 +47,10 @@ abstract class MigrateFullDrupalTestBase extends MigrateDrupalTestBase {
|
|||
parent::tearDown();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test the complete Drupal migration.
|
||||
*/
|
||||
public function testDrupal() {
|
||||
$dumps = $this->getDumps();
|
||||
$this->loadDumps($dumps);
|
||||
|
||||
$classes = $this->getTestClassesList();
|
||||
foreach ($classes as $class) {
|
||||
if (is_subclass_of($class, '\Drupal\migrate\Tests\MigrateDumpAlterInterface')) {
|
||||
|
@ -89,9 +59,9 @@ abstract class MigrateFullDrupalTestBase extends MigrateDrupalTestBase {
|
|||
}
|
||||
|
||||
// Run every migration in the order specified by the storage controller.
|
||||
foreach (entity_load_multiple('migration', static::$migrations) as $migration) {
|
||||
(new MigrateExecutable($migration, $this))->import();
|
||||
}
|
||||
$migrations = Migration::loadMultiple(static::$migrations);
|
||||
array_walk($migrations, [$this, 'executeMigration']);
|
||||
|
||||
foreach ($classes as $class) {
|
||||
$test_object = new $class($this->testId);
|
||||
$test_object->databasePrefix = $this->databasePrefix;
|
||||
|
|
|
@ -0,0 +1,105 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\migrate_drupal\Tests\Table\d6\ImagecacheAction.
|
||||
*
|
||||
* THIS IS A GENERATED FILE. DO NOT EDIT.
|
||||
*
|
||||
* @see core/scripts/migrate-db.sh
|
||||
* @see https://www.drupal.org/sandbox/benjy/2405029
|
||||
*/
|
||||
|
||||
namespace Drupal\migrate_drupal\Tests\Table\d6;
|
||||
|
||||
use Drupal\migrate_drupal\Tests\Dump\DrupalDumpBase;
|
||||
|
||||
/**
|
||||
* Generated file to represent the imagecache_action table.
|
||||
*/
|
||||
class ImagecacheAction extends DrupalDumpBase {
|
||||
|
||||
public function load() {
|
||||
$this->createTable("imagecache_action", array(
|
||||
'primary key' => array(
|
||||
'actionid',
|
||||
),
|
||||
'fields' => array(
|
||||
'actionid' => array(
|
||||
'type' => 'serial',
|
||||
'not null' => TRUE,
|
||||
'length' => '10',
|
||||
'unsigned' => TRUE,
|
||||
),
|
||||
'presetid' => array(
|
||||
'type' => 'int',
|
||||
'not null' => TRUE,
|
||||
'length' => '10',
|
||||
'default' => '0',
|
||||
'unsigned' => TRUE,
|
||||
),
|
||||
'weight' => array(
|
||||
'type' => 'int',
|
||||
'not null' => TRUE,
|
||||
'length' => '11',
|
||||
'default' => '0',
|
||||
),
|
||||
'module' => array(
|
||||
'type' => 'varchar',
|
||||
'not null' => TRUE,
|
||||
'length' => '255',
|
||||
),
|
||||
'action' => array(
|
||||
'type' => 'varchar',
|
||||
'not null' => TRUE,
|
||||
'length' => '255',
|
||||
),
|
||||
'data' => array(
|
||||
'type' => 'text',
|
||||
'not null' => TRUE,
|
||||
'length' => 100,
|
||||
),
|
||||
),
|
||||
'mysql_character_set' => 'utf8',
|
||||
));
|
||||
$this->database->insert("imagecache_action")->fields(array(
|
||||
'actionid',
|
||||
'presetid',
|
||||
'weight',
|
||||
'module',
|
||||
'action',
|
||||
'data',
|
||||
))
|
||||
->values(array(
|
||||
'actionid' => '3',
|
||||
'presetid' => '1',
|
||||
'weight' => '0',
|
||||
'module' => 'imagecache',
|
||||
'action' => 'imagecache_scale_and_crop',
|
||||
'data' => 'a:2:{s:5:"width";s:4:"100%";s:6:"height";s:4:"100%";}',
|
||||
))->values(array(
|
||||
'actionid' => '4',
|
||||
'presetid' => '2',
|
||||
'weight' => '0',
|
||||
'module' => 'imagecache',
|
||||
'action' => 'imagecache_crop',
|
||||
'data' => 'a:4:{s:5:"width";s:3:"555";s:6:"height";s:4:"5555";s:7:"xoffset";s:6:"center";s:7:"yoffset";s:6:"center";}',
|
||||
))->values(array(
|
||||
'actionid' => '5',
|
||||
'presetid' => '2',
|
||||
'weight' => '0',
|
||||
'module' => 'imagecache',
|
||||
'action' => 'imagecache_resize',
|
||||
'data' => 'a:2:{s:5:"width";s:3:"55%";s:6:"height";s:3:"55%";}',
|
||||
))->values(array(
|
||||
'actionid' => '6',
|
||||
'presetid' => '2',
|
||||
'weight' => '0',
|
||||
'module' => 'imagecache',
|
||||
'action' => 'imagecache_rotate',
|
||||
'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}',
|
||||
))->execute();
|
||||
}
|
||||
|
||||
}
|
||||
#90267fd3a92bd722208f016a23ab5f97
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\migrate_drupal\Tests\Table\d6\ImagecachePreset.
|
||||
*
|
||||
* THIS IS A GENERATED FILE. DO NOT EDIT.
|
||||
*
|
||||
* @see core/scripts/migrate-db.sh
|
||||
* @see https://www.drupal.org/sandbox/benjy/2405029
|
||||
*/
|
||||
|
||||
namespace Drupal\migrate_drupal\Tests\Table\d6;
|
||||
|
||||
use Drupal\migrate_drupal\Tests\Dump\DrupalDumpBase;
|
||||
|
||||
/**
|
||||
* Generated file to represent the imagecache_preset table.
|
||||
*/
|
||||
class ImagecachePreset extends DrupalDumpBase {
|
||||
|
||||
public function load() {
|
||||
$this->createTable("imagecache_preset", array(
|
||||
'primary key' => array(
|
||||
'presetid',
|
||||
),
|
||||
'fields' => array(
|
||||
'presetid' => array(
|
||||
'type' => 'serial',
|
||||
'not null' => TRUE,
|
||||
'length' => '10',
|
||||
'unsigned' => TRUE,
|
||||
),
|
||||
'presetname' => array(
|
||||
'type' => 'varchar',
|
||||
'not null' => TRUE,
|
||||
'length' => '255',
|
||||
),
|
||||
),
|
||||
'mysql_character_set' => 'utf8',
|
||||
));
|
||||
$this->database->insert("imagecache_preset")->fields(array(
|
||||
'presetid',
|
||||
'presetname',
|
||||
))
|
||||
->values(array(
|
||||
'presetid' => '1',
|
||||
'presetname' => 'slackjaw_boys',
|
||||
))->values(array(
|
||||
'presetid' => '2',
|
||||
'presetname' => 'big_blue_cheese',
|
||||
))->execute();
|
||||
}
|
||||
|
||||
}
|
||||
#b2102d82ad5b3d8be026fe23cea75674
|
|
@ -5154,8 +5154,34 @@ class MenuLinks extends DrupalDumpBase {
|
|||
'p8' => '0',
|
||||
'p9' => '0',
|
||||
'updated' => '0',
|
||||
))->values(array(
|
||||
'menu_name' => 'secondary-links',
|
||||
'mlid' => '393',
|
||||
'plid' => '0',
|
||||
'link_path' => 'user/login',
|
||||
'router_path' => 'user/login',
|
||||
'link_title' => 'Test 3',
|
||||
'options' => 'a:0:{}',
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '0',
|
||||
'has_children' => '1',
|
||||
'expanded' => '0',
|
||||
'weight' => '15',
|
||||
'depth' => '1',
|
||||
'customized' => '1',
|
||||
'p1' => '138',
|
||||
'p2' => '0',
|
||||
'p3' => '0',
|
||||
'p4' => '0',
|
||||
'p5' => '0',
|
||||
'p6' => '0',
|
||||
'p7' => '0',
|
||||
'p8' => '0',
|
||||
'p9' => '0',
|
||||
'updated' => '0',
|
||||
))->execute();
|
||||
}
|
||||
|
||||
}
|
||||
#a594b05a60a1a549e86f4c190c2f2f4e
|
||||
#8e902b6a6367838c553b463060befdd3
|
||||
|
|
|
@ -847,6 +847,28 @@ class System extends DrupalDumpBase {
|
|||
'schema_version' => '-1',
|
||||
'weight' => '0',
|
||||
'info' => 'a:10:{s:4:"name";s:8:"Views UI";s:11:"description";s:93:"Administrative interface to views. Without this module, you cannot create or edit your views.";s:7:"package";s:5:"Views";s:4:"core";s:3:"6.x";s:12:"dependencies";a:1:{i:0;s:5:"views";}s:7:"version";s:7:"6.x-3.0";s:7:"project";s:5:"views";s:9:"datestamp";s:10:"1325638545";s:10:"dependents";a:0:{}s:3:"php";s:5:"4.3.5";}',
|
||||
))->values(array(
|
||||
'filename' => 'sites/all/modules/imageapi/imageapi.module',
|
||||
'name' => 'imageapi',
|
||||
'type' => 'module',
|
||||
'owner' => '',
|
||||
'status' => '1',
|
||||
'throttle' => '0',
|
||||
'bootstrap' => '0',
|
||||
'schema_version' => '0',
|
||||
'weight' => '0',
|
||||
'info' => 'a:10:{s:4:"name";s:8:"ImageAPI";s:11:"description";s:38:"ImageAPI supporting multiple toolkits.";s:7:"package";s:10:"ImageCache";s:4:"core";s:3:"6.x";s:3:"php";s:3:"5.1";s:7:"version";s:8:"6.x-1.10";s:7:"project";s:8:"imageapi";s:9:"datestamp";s:10:"1305563215";s:12:"dependencies";a:0:{}s:10:"dependents";a:0:{}}',
|
||||
))->values(array(
|
||||
'filename' => 'sites/all/modules/imagecache/imagecache.module',
|
||||
'name' => 'imagecache',
|
||||
'type' => 'module',
|
||||
'owner' => '',
|
||||
'status' => '1',
|
||||
'throttle' => '0',
|
||||
'bootstrap' => '0',
|
||||
'schema_version' => '6001',
|
||||
'weight' => '0',
|
||||
'info' => 'a:10:{s:4:"name";s:8:"ImageAPI";s:11:"description";s:38:"ImageAPI supporting multiple toolkits.";s:7:"package";s:10:"ImageCache";s:4:"core";s:3:"6.x";s:3:"php";s:3:"5.1";s:7:"version";s:8:"6.x-1.10";s:7:"project";s:8:"imageapi";s:9:"datestamp";s:10:"1305563215";s:12:"dependencies";a:0:{}s:10:"dependents";a:0:{}}',
|
||||
))->values(array(
|
||||
'filename' => 'themes/bluemarine/bluemarine.info',
|
||||
'name' => 'bluemarine',
|
||||
|
@ -917,4 +939,4 @@ class System extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#f48594e66407fef659b575523a75c6e6
|
||||
#f7d26efda87933cbe199c1f232d329b2
|
||||
|
|
|
@ -251,12 +251,12 @@ class Users extends DrupalDumpBase {
|
|||
'access' => '1391259674',
|
||||
'login' => '1391152255',
|
||||
'status' => '1',
|
||||
'timezone' => '3600',
|
||||
'timezone' => '-28800',
|
||||
'language' => 'en',
|
||||
'picture' => '',
|
||||
'init' => 'bloggs@example.com',
|
||||
'data' => 'a:0:{}',
|
||||
'timezone_name' => NULL,
|
||||
'timezone_name' => 'America/Anchorage',
|
||||
'pass_plain' => 'joe.bloggs_pass',
|
||||
'expected_timezone' => NULL,
|
||||
'timezone_id' => '0',
|
||||
|
@ -275,12 +275,12 @@ class Users extends DrupalDumpBase {
|
|||
'access' => '1391259574',
|
||||
'login' => '1391162255',
|
||||
'status' => '1',
|
||||
'timezone' => '3600',
|
||||
'timezone' => '0',
|
||||
'language' => 'en',
|
||||
'picture' => '',
|
||||
'init' => 'sal.saraniti@example.com',
|
||||
'data' => 'a:0:{}',
|
||||
'timezone_name' => NULL,
|
||||
'timezone_name' => 'UTC',
|
||||
'pass_plain' => 'sal.saraniti',
|
||||
'expected_timezone' => NULL,
|
||||
'timezone_id' => '0',
|
||||
|
@ -299,7 +299,7 @@ class Users extends DrupalDumpBase {
|
|||
'access' => '1390259574',
|
||||
'login' => '1390162255',
|
||||
'status' => '1',
|
||||
'timezone' => '3600',
|
||||
'timezone' => NULL,
|
||||
'language' => 'en',
|
||||
'picture' => '',
|
||||
'init' => 'terry.saraniti@example.com',
|
||||
|
@ -312,4 +312,4 @@ class Users extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#ce6d7264b7ef5ed1ffe854326893e1e0
|
||||
#4a42570fa3c819b0b84e9552d689e2e7
|
||||
|
|
|
@ -172,6 +172,9 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'comment_subject_field_story',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'configurable_timezones',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'contact_default_status',
|
||||
'value' => 'i:1;',
|
||||
|
@ -379,6 +382,12 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'date_api_version',
|
||||
'value' => 's:3:"5.2";',
|
||||
))->values(array(
|
||||
'name' => 'date_default_timezone',
|
||||
'value' => 's:4:"3600";',
|
||||
))->values(array(
|
||||
'name' => 'date_first_day',
|
||||
'value' => 's:1:"4";',
|
||||
))->values(array(
|
||||
'name' => 'date_format_long',
|
||||
'value' => 's:24:"\L\O\N\G l, F j, Y - H:i";',
|
||||
|
@ -685,6 +694,12 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'user_mail_register_no_approval_required_subject',
|
||||
'value' => 's:38:"Account details for !username at !site";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_pending_approval_body',
|
||||
'value' => "s:267:\"!username,\n\nThank you for registering at !site. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n-- !site team\";",
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_pending_approval_subject',
|
||||
'value' => 's:63:"Account details for !username at !site (pending admin approval)";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_activated_body',
|
||||
'value' => "s:419:\"!username,\n\nYour account at !site has been activated.\n\nYou may now log in by clicking on this link or copying and pasting it in your browser:\n\n!login_url\n\nThis is a one-time login, so it can be used only once.\n\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\n\nOnce you have set your own password, you will be able to log in to !login_uri in the future using:\n\nusername: !username\n\";",
|
||||
|
@ -709,12 +724,6 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'user_mail_status_deleted_subject',
|
||||
'value' => 's:48:"Account details for !username at !site (deleted)";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_user_mail_register_pending_approval_body',
|
||||
'value' => "s:267:\"!username,\n\nThank you for registering at !site. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n-- !site team\";",
|
||||
))->values(array(
|
||||
'name' => 'user_mail_user_mail_register_pending_approval_subject',
|
||||
'value' => 's:63:"Account details for !username at !site (pending admin approval)";',
|
||||
))->values(array(
|
||||
'name' => 'user_register',
|
||||
'value' => 'i:0;',
|
||||
|
@ -725,4 +734,4 @@ class Variable extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#32b72a0543c243804368c7bc10b05be5
|
||||
#f34f009027a42145859ceca526d4c297
|
||||
|
|
|
@ -119,7 +119,7 @@ class Filter extends DrupalDumpBase {
|
|||
'name' => 'filter_html',
|
||||
'weight' => '1',
|
||||
'status' => '1',
|
||||
'settings' => 'a:3:{s:12:"allowed_html";s:74:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
|
||||
'settings' => 'a:3:{s:12:"allowed_html";s:22:"<div> <span> <ul> <li>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
|
||||
))->values(array(
|
||||
'format' => 'filtered_html',
|
||||
'module' => 'filter',
|
||||
|
@ -140,7 +140,7 @@ class Filter extends DrupalDumpBase {
|
|||
'name' => 'filter_url',
|
||||
'weight' => '0',
|
||||
'status' => '1',
|
||||
'settings' => 'a:1:{s:17:"filter_url_length";i:72;}',
|
||||
'settings' => 'a:1:{s:17:"filter_url_length";s:3:"128";}',
|
||||
))->values(array(
|
||||
'format' => 'full_html',
|
||||
'module' => 'filter',
|
||||
|
@ -215,4 +215,4 @@ class Filter extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#26810a92f8dcd637a67b91e218441083
|
||||
#d47ad1c59579daa0db744321977c5e4b
|
||||
|
|
|
@ -135,10 +135,10 @@ class Node extends DrupalDumpBase {
|
|||
'type' => 'test_content_type',
|
||||
'language' => 'en',
|
||||
'title' => 'A Node',
|
||||
'uid' => '1',
|
||||
'uid' => '2',
|
||||
'status' => '1',
|
||||
'created' => '1421727515',
|
||||
'changed' => '1421727515',
|
||||
'changed' => '1441032132',
|
||||
'comment' => '2',
|
||||
'promote' => '1',
|
||||
'sticky' => '0',
|
||||
|
@ -148,4 +148,4 @@ class Node extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#ad72334d15f155644075803c26757ee5
|
||||
#06cbcf4df265ff717f83f472c22fdbcf
|
||||
|
|
|
@ -106,7 +106,7 @@ class NodeRevision extends DrupalDumpBase {
|
|||
'uid' => '1',
|
||||
'title' => 'A Node',
|
||||
'log' => '',
|
||||
'timestamp' => '1421727515',
|
||||
'timestamp' => '1441032132',
|
||||
'status' => '1',
|
||||
'comment' => '2',
|
||||
'promote' => '1',
|
||||
|
@ -115,4 +115,4 @@ class NodeRevision extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#02a3aed2de9a2df056ef6b81d329213e
|
||||
#e202cc75a51afc39cabf52cbf0a0f9e2
|
||||
|
|
|
@ -122,7 +122,7 @@ class NodeType extends DrupalDumpBase {
|
|||
'base' => 'node_content',
|
||||
'module' => 'node',
|
||||
'description' => 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.',
|
||||
'help' => '',
|
||||
'help' => 'Help text for articles',
|
||||
'has_title' => '1',
|
||||
'title_label' => 'Title',
|
||||
'custom' => '1',
|
||||
|
@ -136,11 +136,11 @@ class NodeType extends DrupalDumpBase {
|
|||
'base' => 'blog',
|
||||
'module' => 'blog',
|
||||
'description' => 'Use for multi-user blogs. Every user gets a personal blog.',
|
||||
'help' => '',
|
||||
'help' => 'Blog away, good sir!',
|
||||
'has_title' => '1',
|
||||
'title_label' => 'Title',
|
||||
'custom' => '0',
|
||||
'modified' => '0',
|
||||
'modified' => '1',
|
||||
'locked' => '1',
|
||||
'disabled' => '0',
|
||||
'orig_type' => 'blog',
|
||||
|
@ -164,11 +164,11 @@ class NodeType extends DrupalDumpBase {
|
|||
'base' => 'forum',
|
||||
'module' => 'forum',
|
||||
'description' => 'A <em>forum topic</em> starts a new discussion thread within a forum.',
|
||||
'help' => '',
|
||||
'help' => 'No name-calling, no flame wars. Be nice.',
|
||||
'has_title' => '1',
|
||||
'title_label' => 'Subject',
|
||||
'custom' => '0',
|
||||
'modified' => '0',
|
||||
'modified' => '1',
|
||||
'locked' => '1',
|
||||
'disabled' => '0',
|
||||
'orig_type' => 'forum',
|
||||
|
@ -178,7 +178,7 @@ class NodeType extends DrupalDumpBase {
|
|||
'base' => 'node_content',
|
||||
'module' => 'node',
|
||||
'description' => "Use <em>basic pages</em> for your static content, such as an 'About us' page.",
|
||||
'help' => '',
|
||||
'help' => 'Help text for basic pages',
|
||||
'has_title' => '1',
|
||||
'title_label' => 'Title',
|
||||
'custom' => '1',
|
||||
|
@ -192,7 +192,7 @@ class NodeType extends DrupalDumpBase {
|
|||
'base' => 'node_content',
|
||||
'module' => 'node',
|
||||
'description' => 'This is the description of the test content type.',
|
||||
'help' => '',
|
||||
'help' => 'Help text for test content type',
|
||||
'has_title' => '1',
|
||||
'title_label' => 'Title',
|
||||
'custom' => '1',
|
||||
|
@ -204,4 +204,4 @@ class NodeType extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#c3cc0500356b35e3e6b106aabf2c7aac
|
||||
#9bef45bc61d3712f730ca19ec8be6f21
|
||||
|
|
|
@ -140,8 +140,25 @@ class Users extends DrupalDumpBase {
|
|||
'init',
|
||||
'data',
|
||||
))
|
||||
->execute();
|
||||
->values(array(
|
||||
'uid' => '2',
|
||||
'name' => 'Odo',
|
||||
'pass' => '$S$DZ4P7zZOh92vgrgZDBbv8Pu6lQB337OJ1wsOy21602G4A5F7.M9K',
|
||||
'mail' => 'odo@local.host',
|
||||
'theme' => '',
|
||||
'signature' => '',
|
||||
'signature_format' => 'filtered_html',
|
||||
'created' => '1440532218',
|
||||
'access' => '0',
|
||||
'login' => '0',
|
||||
'status' => '1',
|
||||
'timezone' => 'America/Chicago',
|
||||
'language' => '',
|
||||
'picture' => '0',
|
||||
'init' => 'odo@local.host',
|
||||
'data' => 'a:1:{s:7:"contact";i:1;}',
|
||||
))->execute();
|
||||
}
|
||||
|
||||
}
|
||||
#c4f52bf31f5fe27b4742639dea21039a
|
||||
#b33078324746c718e26c067131e97dcd
|
||||
|
|
|
@ -44,8 +44,23 @@ class Variable extends DrupalDumpBase {
|
|||
'value',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'additional_settings__active_tab_test_content_type',
|
||||
'name' => 'additional_settings__active_tab_article',
|
||||
'value' => 's:15:"edit-submission";',
|
||||
))->values(array(
|
||||
'name' => 'additional_settings__active_tab_blog',
|
||||
'value' => 's:15:"edit-submission";',
|
||||
))->values(array(
|
||||
'name' => 'additional_settings__active_tab_book',
|
||||
'value' => 's:13:"edit-workflow";',
|
||||
))->values(array(
|
||||
'name' => 'additional_settings__active_tab_forum',
|
||||
'value' => 's:15:"edit-submission";',
|
||||
))->values(array(
|
||||
'name' => 'additional_settings__active_tab_page',
|
||||
'value' => 's:15:"edit-submission";',
|
||||
))->values(array(
|
||||
'name' => 'additional_settings__active_tab_test_content_type',
|
||||
'value' => 's:13:"edit-workflow";',
|
||||
))->values(array(
|
||||
'name' => 'admin_theme',
|
||||
'value' => 's:5:"seven";',
|
||||
|
@ -91,24 +106,126 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'clean_url',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_article',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_blog',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_book',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_forum',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_page',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_anonymous_test_content_type',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'comment_article',
|
||||
'value' => 's:1:"2";',
|
||||
))->values(array(
|
||||
'name' => 'comment_blog',
|
||||
'value' => 's:1:"2";',
|
||||
))->values(array(
|
||||
'name' => 'comment_book',
|
||||
'value' => 's:1:"2";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_article',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_blog',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_book',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_forum',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_page',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_mode_test_content_type',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_article',
|
||||
'value' => 's:2:"50";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_blog',
|
||||
'value' => 's:2:"50";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_book',
|
||||
'value' => 's:2:"50";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_forum',
|
||||
'value' => 's:2:"50";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_page',
|
||||
'value' => 's:2:"50";',
|
||||
))->values(array(
|
||||
'name' => 'comment_default_per_page_test_content_type',
|
||||
'value' => 's:2:"30";',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_article',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_blog',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_book',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_forum',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_page',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_form_location_test_content_type',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_forum',
|
||||
'value' => 's:1:"2";',
|
||||
))->values(array(
|
||||
'name' => 'comment_page',
|
||||
'value' => 'i:0;',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_article',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_blog',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_book',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_forum',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_page',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_preview_test_content_type',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_article',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_blog',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_book',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_forum',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_page',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'comment_subject_field_test_content_type',
|
||||
'value' => 'i:1;',
|
||||
|
@ -123,7 +240,7 @@ class Variable extends DrupalDumpBase {
|
|||
'value' => 's:43:"_vWFj-dRR2rNoHDwl7N__J9uZNutDcLz3w4tlPJzRAM";',
|
||||
))->values(array(
|
||||
'name' => 'cron_last',
|
||||
'value' => 'i:1432653550;',
|
||||
'value' => 'i:1440523817;',
|
||||
))->values(array(
|
||||
'name' => 'css_js_query_string',
|
||||
'value' => 's:6:"nihmmw";',
|
||||
|
@ -150,7 +267,7 @@ class Variable extends DrupalDumpBase {
|
|||
'value' => 's:43:"9eRJWxrMwQ5CufYJjXBZbPGz_t8vPIYRQr18PamdKmM";',
|
||||
))->values(array(
|
||||
'name' => 'email__active_tab',
|
||||
'value' => 's:25:"edit-email-password-reset";',
|
||||
'value' => 's:27:"edit-email-pending-approval";',
|
||||
))->values(array(
|
||||
'name' => 'field_bundle_settings_comment__comment_node_test_content_type',
|
||||
'value' => 'a:2:{s:10:"view_modes";a:0:{}s:12:"extra_fields";a:2:{s:4:"form";a:2:{s:6:"author";a:1:{s:6:"weight";s:2:"-2";}s:7:"subject";a:1:{s:6:"weight";s:2:"-1";}}s:7:"display";a:0:{}}}',
|
||||
|
@ -160,6 +277,15 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'field_bundle_settings_user__user',
|
||||
'value' => 'a:2:{s:10:"view_modes";a:0:{}s:12:"extra_fields";a:2:{s:4:"form";a:2:{s:7:"account";a:1:{s:6:"weight";s:3:"-10";}s:8:"timezone";a:1:{s:6:"weight";s:1:"6";}}s:7:"display";a:0:{}}}',
|
||||
))->values(array(
|
||||
'name' => 'file_default_scheme',
|
||||
'value' => 's:6:"public";',
|
||||
))->values(array(
|
||||
'name' => 'file_private_path',
|
||||
'value' => 's:0:"";',
|
||||
))->values(array(
|
||||
'name' => 'file_public_path',
|
||||
'value' => 's:19:"sites/default/files";',
|
||||
))->values(array(
|
||||
'name' => 'file_temporary_path',
|
||||
'value' => 's:4:"/tmp";',
|
||||
|
@ -172,6 +298,9 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'forum_nav_vocabulary',
|
||||
'value' => 's:1:"2";',
|
||||
))->values(array(
|
||||
'name' => 'image_style_preview_image',
|
||||
'value' => 's:33:"core/modules/image/testsample.png";',
|
||||
))->values(array(
|
||||
'name' => 'install_profile',
|
||||
'value' => 's:8:"standard";',
|
||||
|
@ -181,6 +310,21 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'install_time',
|
||||
'value' => 'i:1421694923;',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_article',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_blog',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_book',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_forum',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_page',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'language_content_type_test_content_type',
|
||||
'value' => 's:1:"0";',
|
||||
|
@ -196,6 +340,12 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'language_types',
|
||||
'value' => 'a:3:{s:8:"language";b:1;s:16:"language_content";b:0;s:12:"language_url";b:0;}',
|
||||
))->values(array(
|
||||
'name' => 'locale_language_negotiation_session_param',
|
||||
'value' => 's:8:"language";',
|
||||
))->values(array(
|
||||
'name' => 'locale_language_negotiation_url_part',
|
||||
'value' => 's:6:"domain";',
|
||||
))->values(array(
|
||||
'name' => 'maintenance_mode',
|
||||
'value' => 'i:0;',
|
||||
|
@ -207,10 +357,43 @@ class Variable extends DrupalDumpBase {
|
|||
'value' => 'a:0:{}',
|
||||
))->values(array(
|
||||
'name' => 'menu_masks',
|
||||
'value' => 'a:36:{i:0;i:501;i:1;i:493;i:2;i:250;i:3;i:247;i:4;i:246;i:5;i:245;i:6;i:126;i:7;i:125;i:8;i:123;i:9;i:122;i:10;i:121;i:11;i:117;i:12;i:63;i:13;i:62;i:14;i:61;i:15;i:60;i:16;i:59;i:17;i:58;i:18;i:44;i:19;i:31;i:20;i:30;i:21;i:29;i:22;i:24;i:23;i:21;i:24;i:15;i:25;i:14;i:26;i:13;i:27;i:12;i:28;i:11;i:29;i:8;i:30;i:7;i:31;i:6;i:32;i:5;i:33;i:3;i:34;i:2;i:35;i:1;}',
|
||||
'value' => 'a:35:{i:0;i:501;i:1;i:493;i:2;i:250;i:3;i:247;i:4;i:246;i:5;i:245;i:6;i:126;i:7;i:125;i:8;i:123;i:9;i:122;i:10;i:121;i:11;i:117;i:12;i:63;i:13;i:62;i:14;i:61;i:15;i:60;i:16;i:59;i:17;i:58;i:18;i:44;i:19;i:31;i:20;i:30;i:21;i:29;i:22;i:24;i:23;i:21;i:24;i:15;i:25;i:14;i:26;i:13;i:27;i:12;i:28;i:11;i:29;i:7;i:30;i:6;i:31;i:5;i:32;i:3;i:33;i:2;i:34;i:1;}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_article',
|
||||
'value' => 'a:1:{i:0;s:9:"main-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_blog',
|
||||
'value' => 'a:1:{i:0;s:9:"main-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_book',
|
||||
'value' => 'a:1:{i:0;s:9:"main-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_forum',
|
||||
'value' => 'a:1:{i:0;s:9:"main-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_page',
|
||||
'value' => 'a:1:{i:0;s:9:"main-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_options_test_content_type',
|
||||
'value' => 'a:4:{i:0;s:9:"main-menu";i:1;s:10:"management";i:2;s:10:"navigation";i:3;s:9:"user-menu";}',
|
||||
))->values(array(
|
||||
'name' => 'menu_override_parent_selector',
|
||||
'value' => 'b:1;',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_article',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_blog',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_book',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_forum',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_page',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
))->values(array(
|
||||
'name' => 'menu_parent_test_content_type',
|
||||
'value' => 's:11:"main-menu:0";',
|
||||
|
@ -223,9 +406,15 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'node_cron_last',
|
||||
'value' => 's:10:"1421727515";',
|
||||
))->values(array(
|
||||
'name' => 'node_options_article',
|
||||
'value' => 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}',
|
||||
))->values(array(
|
||||
'name' => 'node_options_blog',
|
||||
'value' => 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}',
|
||||
))->values(array(
|
||||
'name' => 'node_options_book',
|
||||
'value' => 'a:1:{i:0;s:6:"status";}',
|
||||
'value' => 'a:2:{i:0;s:6:"status";i:1;s:8:"revision";}',
|
||||
))->values(array(
|
||||
'name' => 'node_options_forum',
|
||||
'value' => 'a:1:{i:0;s:6:"status";}',
|
||||
|
@ -234,7 +423,22 @@ class Variable extends DrupalDumpBase {
|
|||
'value' => 'a:1:{i:0;s:6:"status";}',
|
||||
))->values(array(
|
||||
'name' => 'node_options_test_content_type',
|
||||
'value' => 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}',
|
||||
'value' => 'a:3:{i:0;s:6:"status";i:1;s:7:"promote";i:2;s:8:"revision";}',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_article',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_blog',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_book',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_forum',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_page',
|
||||
'value' => 's:1:"1";',
|
||||
))->values(array(
|
||||
'name' => 'node_preview_test_content_type',
|
||||
'value' => 's:1:"1";',
|
||||
|
@ -253,12 +457,24 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'node_rank_views',
|
||||
'value' => 's:1:"0";',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_article',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_blog',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_book',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_forum',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_page',
|
||||
'value' => 'b:0;',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'node_submitted_test_content_type',
|
||||
'value' => 'i:1;',
|
||||
'value' => 'i:0;',
|
||||
))->values(array(
|
||||
'name' => 'overlap_cjk',
|
||||
'value' => 'i:1;',
|
||||
|
@ -283,12 +499,33 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'search_active_modules',
|
||||
'value' => 'a:2:{s:4:"node";s:4:"node";s:4:"user";s:4:"user";}',
|
||||
))->values(array(
|
||||
'name' => 'search_and_or_limit',
|
||||
'value' => 'i:7;',
|
||||
))->values(array(
|
||||
'name' => 'search_cron_limit',
|
||||
'value' => 's:3:"100";',
|
||||
))->values(array(
|
||||
'name' => 'search_default_module',
|
||||
'value' => 's:4:"node";',
|
||||
))->values(array(
|
||||
'name' => 'search_tag_weights',
|
||||
'value' => 'a:12:{s:2:"h1";i:25;s:2:"h2";i:18;s:2:"h3";i:15;s:2:"h4";i:12;s:2:"h5";i:9;s:2:"h6";i:6;s:1:"u";i:3;s:1:"b";i:3;s:1:"i";i:3;s:6:"strong";i:3;s:2:"em";i:3;s:1:"a";i:10;}',
|
||||
))->values(array(
|
||||
'name' => 'simpletest_clear_results',
|
||||
'value' => 'b:1;',
|
||||
))->values(array(
|
||||
'name' => 'simpletest_httpauth_method',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'simpletest_httpauth_password',
|
||||
'value' => 's:6:"foobaz";',
|
||||
))->values(array(
|
||||
'name' => 'simpletest_httpauth_username',
|
||||
'value' => 's:7:"testbot";',
|
||||
))->values(array(
|
||||
'name' => 'simpletest_verbose',
|
||||
'value' => 'b:1;',
|
||||
))->values(array(
|
||||
'name' => 'site_403',
|
||||
'value' => 's:4:"node";',
|
||||
|
@ -334,9 +571,15 @@ class Variable extends DrupalDumpBase {
|
|||
))->values(array(
|
||||
'name' => 'syslog_identity',
|
||||
'value' => 's:6:"drupal";',
|
||||
))->values(array(
|
||||
'name' => 'teaser_length',
|
||||
'value' => 'i:1024;',
|
||||
))->values(array(
|
||||
'name' => 'theme_default',
|
||||
'value' => 's:6:"bartik";',
|
||||
))->values(array(
|
||||
'name' => 'tracker_batch_size',
|
||||
'value' => 'i:999;',
|
||||
))->values(array(
|
||||
'name' => 'user_admin_role',
|
||||
'value' => 's:1:"3";',
|
||||
|
@ -363,61 +606,61 @@ class Variable extends DrupalDumpBase {
|
|||
'value' => 'i:86400;',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_cancel_confirm_body',
|
||||
'value' => "s:381:\"[user:name],\r\n\r\nA request to cancel your account has been made at [site:name].\r\n\r\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:cancel-url]\r\n\r\nNOTE: The cancellation of your account is not reversible.\r\n\r\nThis link expires in one day and nothing will happen if it is not used.\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:55:"A little birdie said you wanted to cancel your account.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_cancel_confirm_subject',
|
||||
'value' => 's:59:"Account cancellation request for [user:name] at [site:name]";',
|
||||
'value' => 's:13:"Are you sure?";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_password_reset_body',
|
||||
'value' => "s:407:\"[user:name],\r\n\r\nA request to reset the password for your account has been made at [site:name].\r\n\r\nYou may now log in by clicking this link or copying and pasting it to your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\r\n\r\n-- [site:name] team\";",
|
||||
'value' => "s:32:\"Nope! You're locked out forever.\";",
|
||||
))->values(array(
|
||||
'name' => 'user_mail_password_reset_subject',
|
||||
'value' => 's:60:"Replacement login information for [user:name] at [site:name]";',
|
||||
'value' => 's:17:"Fix your password";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_admin_created_body',
|
||||
'value' => "s:476:\"[user:name],\r\n\r\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it to your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: Your password\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:30:"...and she could take it away.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_admin_created_subject',
|
||||
'value' => 's:58:"An administrator created an account for you at [site:name]";',
|
||||
'value' => 's:24:"Gawd made you an account";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_no_approval_required_body',
|
||||
'value' => "s:450:\"[user:name],\r\n\r\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it to your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: Your password\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:59:"You can now log in if you can figure out how to use Drupal!";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_no_approval_required_subject',
|
||||
'value' => 's:46:"Account details for [user:name] at [site:name]";',
|
||||
'value' => 's:8:"Welcome!";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_pending_approval_body',
|
||||
'value' => "s:287:\"[user:name],\r\n\r\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another e-mail containing information about how to log in, set your password, and other details.\r\n\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:61:"...you will join our Circle. Let the Drupal flow through you.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_register_pending_approval_subject',
|
||||
'value' => 's:71:"Account details for [user:name] at [site:name] (pending admin approval)";',
|
||||
'value' => 's:7:"Soon...";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_activated_body',
|
||||
'value' => "s:461:\"[user:name],\r\n\r\nYour account at [site:name] has been activated.\r\n\r\nYou may now log in by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: Your password\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:57:"Your account was activated, and there was much rejoicing.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_activated_notify',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_activated_subject',
|
||||
'value' => 's:57:"Account details for [user:name] at [site:name] (approved)";',
|
||||
'value' => 's:25:"Your account is approved!";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_blocked_body',
|
||||
'value' => "s:85:\"[user:name],\r\n\r\nYour account on [site:name] has been blocked.\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:72:"You no longer please the robot overlords. Go to your room and chill out.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_blocked_notify',
|
||||
'value' => 'i:0;',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_blocked_subject',
|
||||
'value' => 's:56:"Account details for [user:name] at [site:name] (blocked)";',
|
||||
'value' => 's:7:"BEGONE!";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_canceled_body',
|
||||
'value' => "s:86:\"[user:name],\r\n\r\nYour account on [site:name] has been canceled.\r\n\r\n-- [site:name] team\";",
|
||||
'value' => 's:75:"The gates of Drupal are closed to you. Now you will work in the salt mines.";',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_canceled_notify',
|
||||
'value' => 'i:0;',
|
||||
'value' => 'i:1;',
|
||||
))->values(array(
|
||||
'name' => 'user_mail_status_canceled_subject',
|
||||
'value' => 's:57:"Account details for [user:name] at [site:name] (canceled)";',
|
||||
'value' => 's:12:"So long, bub";',
|
||||
))->values(array(
|
||||
'name' => 'user_pictures',
|
||||
'value' => 'i:1;',
|
||||
|
@ -449,4 +692,4 @@ class Variable extends DrupalDumpBase {
|
|||
}
|
||||
|
||||
}
|
||||
#5b6552f715939e2b33c22779e47e73e3
|
||||
#7dc2bf954651dff3a1774f619801d40b
|
||||
|
|
|
@ -17,11 +17,7 @@ use Drupal\user\Entity\User;
|
|||
*/
|
||||
class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
||||
|
||||
const BASE_TEST_CLASS = 'Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase';
|
||||
|
||||
protected static $blacklist = array(
|
||||
'Drupal\migrate_drupal\Tests\dependencies\MigrateDependenciesTest',
|
||||
);
|
||||
const TEST_GROUP = 'migrate_drupal_6';
|
||||
|
||||
/**
|
||||
* Modules to enable.
|
||||
|
@ -52,6 +48,7 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
'migrate_drupal',
|
||||
'node',
|
||||
'options',
|
||||
'path',
|
||||
'search',
|
||||
'system',
|
||||
'simpletest',
|
||||
|
@ -80,8 +77,6 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
'd6_block_content_type',
|
||||
'd6_book',
|
||||
'd6_book_settings',
|
||||
'd6_cck_field_values:*',
|
||||
'd6_cck_field_revision:*',
|
||||
'd6_comment_type',
|
||||
'd6_comment',
|
||||
'd6_comment_entity_display',
|
||||
|
@ -102,24 +97,25 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
'd6_file',
|
||||
'd6_filter_format',
|
||||
'd6_forum_settings',
|
||||
'd6_locale_settings',
|
||||
'locale_settings',
|
||||
'd6_menu_settings',
|
||||
'd6_menu',
|
||||
'menu',
|
||||
'd6_menu_links',
|
||||
'd6_node_revision',
|
||||
'd6_node_revision:*',
|
||||
'd6_node_setting_promote',
|
||||
'd6_node_setting_status',
|
||||
'd6_node_setting_sticky',
|
||||
'd6_node',
|
||||
'd6_node:*',
|
||||
'd6_node_settings',
|
||||
'd6_node_type',
|
||||
'd6_profile_values:user',
|
||||
'd6_profile_values',
|
||||
'd6_search_page',
|
||||
'd6_search_settings',
|
||||
'd6_simpletest_settings',
|
||||
'd6_statistics_settings',
|
||||
'd6_syslog_settings',
|
||||
'd6_system_cron',
|
||||
'd6_system_date',
|
||||
'd6_system_file',
|
||||
'd6_system_image',
|
||||
'd6_system_image_gd',
|
||||
|
@ -133,7 +129,7 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
'd6_taxonomy_vocabulary',
|
||||
'd6_term_node_revision:*',
|
||||
'd6_term_node:*',
|
||||
'd6_text_settings',
|
||||
'text_settings',
|
||||
'd6_update_settings',
|
||||
'd6_upload_entity_display',
|
||||
'd6_upload_entity_form_display',
|
||||
|
@ -143,14 +139,14 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
'd6_url_alias',
|
||||
'd6_user_mail',
|
||||
'd6_user_contact_settings',
|
||||
'd6_user_profile_field_instance',
|
||||
'd6_user_profile_entity_display',
|
||||
'd6_user_profile_entity_form_display',
|
||||
'd6_user_profile_field',
|
||||
'd6_user_picture_entity_display',
|
||||
'd6_user_picture_entity_form_display',
|
||||
'd6_user_picture_field_instance',
|
||||
'd6_user_picture_field',
|
||||
'user_profile_field_instance',
|
||||
'user_profile_entity_display',
|
||||
'user_profile_entity_form_display',
|
||||
'user_profile_field',
|
||||
'user_picture_entity_display',
|
||||
'user_picture_entity_form_display',
|
||||
'user_picture_field_instance',
|
||||
'user_picture_field',
|
||||
'd6_user_picture_file',
|
||||
'd6_user_role',
|
||||
'd6_user_settings',
|
||||
|
@ -208,52 +204,6 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
|||
$this->installMigrations('Drupal 6');
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getDumps() {
|
||||
return array(
|
||||
'AggregatorFeed.php',
|
||||
'AggregatorItem.php',
|
||||
'Blocks.php',
|
||||
'BlocksRoles.php',
|
||||
'Book.php',
|
||||
'Boxes.php',
|
||||
'Comments.php',
|
||||
'Contact.php',
|
||||
'ContentFieldMultivalue.php',
|
||||
'ContentFieldTest.php',
|
||||
'ContentFieldTestTwo.php',
|
||||
'ContentNodeField.php',
|
||||
'ContentNodeFieldInstance.php',
|
||||
'ContentTypeStory.php',
|
||||
'ContentTypeTestPlanet.php',
|
||||
'EventTimezones.php',
|
||||
'Files.php',
|
||||
'FilterFormats.php',
|
||||
'Filters.php',
|
||||
'MenuCustom.php',
|
||||
'MenuLinks.php',
|
||||
'Node.php',
|
||||
'NodeRevisions.php',
|
||||
'NodeType.php',
|
||||
'Permission.php',
|
||||
'ProfileFields.php',
|
||||
'ProfileValues.php',
|
||||
'Role.php',
|
||||
'TermData.php',
|
||||
'TermHierarchy.php',
|
||||
'TermNode.php',
|
||||
'Upload.php',
|
||||
'UrlAlias.php',
|
||||
'Users.php',
|
||||
'UsersRoles.php',
|
||||
'Variable.php',
|
||||
'Vocabulary.php',
|
||||
'VocabularyNodeTypes.php',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path to the dump directory.
|
||||
*
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
namespace Drupal\migrate_drupal\Tests\dependencies;
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\migrate\Entity\Migration;
|
||||
use Drupal\migrate\MigrateExecutable;
|
||||
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
|
||||
|
||||
|
@ -15,8 +16,6 @@ use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
|
|||
* Ensure the consistency among the dependencies for migrate.
|
||||
*
|
||||
* @group migrate_drupal
|
||||
* @group Drupal
|
||||
* @group migrate_drupal
|
||||
*/
|
||||
class MigrateDependenciesTest extends MigrateDrupal6TestBase {
|
||||
|
||||
|
@ -26,12 +25,24 @@ class MigrateDependenciesTest extends MigrateDrupal6TestBase {
|
|||
* Tests that the order is correct when loading several migrations.
|
||||
*/
|
||||
public function testMigrateDependenciesOrder() {
|
||||
$migration_items = array('d6_comment', 'd6_filter_format', 'd6_node');
|
||||
$migrations = entity_load_multiple('migration', $migration_items);
|
||||
$expected_order = array('d6_filter_format', 'd6_node', 'd6_comment');
|
||||
$migration_items = array('d6_comment', 'd6_filter_format', 'd6_node__page');
|
||||
$migrations = Migration::loadMultiple($migration_items);
|
||||
$expected_order = array('d6_filter_format', 'd6_node__page', 'd6_comment');
|
||||
$this->assertIdentical(array_keys($migrations), $expected_order);
|
||||
$expected_requirements = array(
|
||||
'd6_node',
|
||||
// d6_comment depends on d6_node:*, which the storage controller expands
|
||||
// into every variant of d6_node created by the MigrationBuilder.
|
||||
'd6_node__article',
|
||||
'd6_node__company',
|
||||
'd6_node__employee',
|
||||
'd6_node__event',
|
||||
'd6_node__page',
|
||||
'd6_node__sponsor',
|
||||
'd6_node__story',
|
||||
'd6_node__test_event',
|
||||
'd6_node__test_page',
|
||||
'd6_node__test_planet',
|
||||
'd6_node__test_story',
|
||||
'd6_node_type',
|
||||
'd6_node_settings',
|
||||
'd6_filter_format',
|
||||
|
@ -55,7 +66,6 @@ class MigrateDependenciesTest extends MigrateDrupal6TestBase {
|
|||
public function testAggregatorMigrateDependencies() {
|
||||
/** @var \Drupal\migrate\entity\Migration $migration */
|
||||
$migration = entity_load('migration', 'd6_aggregator_item');
|
||||
$this->loadDumps(['AggregatorItem.php']);
|
||||
$executable = new MigrateExecutable($migration, $this);
|
||||
$this->startCollectingMessages();
|
||||
$executable->import();
|
||||
|
|
Reference in a new issue