Commit 9872c3ae authored by alexpott's avatar alexpott
Browse files

Issue #2305869 by svendecabooter, ultimike | jhodgdon: Search migration -...

Issue #2305869 by svendecabooter, ultimike | jhodgdon: Search migration - search logging (new setting).
parent 7c0295d2
......@@ -4,6 +4,8 @@ migration_groups:
- Drupal 6
source:
plugin: variable
constants:
status: true
variables:
- minimum_word_size
- overlap_cjk
......@@ -14,6 +16,7 @@ process:
'index/minimum_word_size': minimum_word_size
'index/overlap_cjk': overlap_cjk
'index/cron_limit': search_cron_limit
logging: 'constants/status'
destination:
plugin: config
config_name: search.settings
......@@ -32,6 +32,9 @@ migrate.source.variable:
plugin:
type: string
label: 'Plugin'
status:
type: boolean
label: 'Status'
migrate.source.d6_comment:
type: migrate_source_sql
......
......@@ -50,6 +50,7 @@ public function testSearchSettings() {
$this->assertIdentical($config->get('index.minimum_word_size'), 3);
$this->assertIdentical($config->get('index.overlap_cjk'), TRUE);
$this->assertIdentical($config->get('index.cron_limit'), 100);
$this->assertIdentical($config->get('logging'), TRUE);
$this->assertConfigSchema(\Drupal::service('config.typed'), 'search.settings', $config->get());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment