Skip to content
Snippets Groups Projects
Commit 9872c3ae authored by Alex Pott's avatar Alex Pott
Browse files

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

Issue #2305869 by svendecabooter, ultimike | jhodgdon: Search migration - search logging (new setting).
parent 7c0295d2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment