Issue #2409441 by phenaproxima, quietone, oadaeh, mikeryan: Migration path for Text 7.x
parent
bcbe3c63a3
commit
ac17586973
|
@ -358,6 +358,9 @@ class Variable extends DrupalDumpBase {
|
||||||
))->values(array(
|
))->values(array(
|
||||||
'name' => 'syslog_identity',
|
'name' => 'syslog_identity',
|
||||||
'value' => 's:6:"drupal";',
|
'value' => 's:6:"drupal";',
|
||||||
|
))->values(array(
|
||||||
|
'name' => 'teaser_length',
|
||||||
|
'value' => 'i:1024;',
|
||||||
))->values(array(
|
))->values(array(
|
||||||
'name' => 'theme_default',
|
'name' => 'theme_default',
|
||||||
'value' => 's:6:"bartik";',
|
'value' => 's:6:"bartik";',
|
||||||
|
@ -476,4 +479,4 @@ class Variable extends DrupalDumpBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
#a571d354b6652603b017f9647ce0975e
|
#dbc0f593050ff48cc18dfa4fed47daaf
|
||||||
|
|
|
@ -133,7 +133,7 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
|
||||||
'd6_taxonomy_vocabulary',
|
'd6_taxonomy_vocabulary',
|
||||||
'd6_term_node_revision:*',
|
'd6_term_node_revision:*',
|
||||||
'd6_term_node:*',
|
'd6_term_node:*',
|
||||||
'd6_text_settings',
|
'text_settings',
|
||||||
'd6_update_settings',
|
'd6_update_settings',
|
||||||
'd6_upload_entity_display',
|
'd6_upload_entity_display',
|
||||||
'd6_upload_entity_form_display',
|
'd6_upload_entity_form_display',
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
id: d6_text_settings
|
id: text_settings
|
||||||
label: Drupal 6 teaser length configuration
|
label: Drupal teaser length configuration
|
||||||
migration_tags:
|
migration_tags:
|
||||||
- Drupal 6
|
- Drupal 6
|
||||||
|
- Drupal 7
|
||||||
source:
|
source:
|
||||||
plugin: variable
|
plugin: variable
|
||||||
variables:
|
variables:
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Contains \Drupal\text\Tests\Migrate\d6\MigrateTextConfigsTest.
|
* Contains \Drupal\text\Tests\Migrate\MigrateTextConfigsTest.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Drupal\text\Tests\Migrate\d6;
|
namespace Drupal\text\Tests\Migrate;
|
||||||
|
|
||||||
use Drupal\config\Tests\SchemaCheckTestTrait;
|
use Drupal\config\Tests\SchemaCheckTestTrait;
|
||||||
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
|
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
|
||||||
|
@ -31,7 +31,7 @@ class MigrateTextConfigsTest extends MigrateDrupal6TestBase {
|
||||||
*/
|
*/
|
||||||
protected function setUp() {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$this->executeMigration('d6_text_settings');
|
$this->executeMigration('text_settings');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
Loading…
Reference in New Issue