Loading core/modules/search/config/schema/search.schema.yml +5 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ search.settings: search.page.*: type: config_entity label: 'Search page' constraints: FullyValidatable: ~ mapping: id: type: machine_name Loading @@ -95,8 +97,10 @@ search.page.*: type: required_label label: 'Label' path: type: string type: path label: 'Search page path' constraints: NotBlank: [] weight: type: weight label: 'Weight' Loading core/modules/search/migrations/d7_search_page.yml +6 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,12 @@ process: source: - module - 'constants/suffix' label: - plugin: concat source: - module - 'constants/suffix' plugin: - plugin: concat Loading core/modules/search/migrations/search_page.yml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ source: process: module: module id: 'constants/id' label: 'constants/id' path: 'constants/path' plugin: 'constants/plugin' configuration: Loading core/modules/search/tests/src/Kernel/SearchPageValidationTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ protected function setUp(): void { $this->entity = SearchPage::create([ 'id' => 'test', 'label' => 'Test', 'path' => 'test', 'plugin' => 'user_search', ]); $this->entity->save(); Loading core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,8 @@ protected function doSearchPageUpdate() { $name = 'search.page.apple'; $entity = SearchPage::create([ 'id' => 'apple', 'label' => 'Apple search', 'path' => 'apple', 'plugin' => 'search_extra_type_search', ]); $entity->save(); Loading Loading
core/modules/search/config/schema/search.schema.yml +5 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ search.settings: search.page.*: type: config_entity label: 'Search page' constraints: FullyValidatable: ~ mapping: id: type: machine_name Loading @@ -95,8 +97,10 @@ search.page.*: type: required_label label: 'Label' path: type: string type: path label: 'Search page path' constraints: NotBlank: [] weight: type: weight label: 'Weight' Loading
core/modules/search/migrations/d7_search_page.yml +6 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,12 @@ process: source: - module - 'constants/suffix' label: - plugin: concat source: - module - 'constants/suffix' plugin: - plugin: concat Loading
core/modules/search/migrations/search_page.yml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ source: process: module: module id: 'constants/id' label: 'constants/id' path: 'constants/path' plugin: 'constants/plugin' configuration: Loading
core/modules/search/tests/src/Kernel/SearchPageValidationTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ protected function setUp(): void { $this->entity = SearchPage::create([ 'id' => 'test', 'label' => 'Test', 'path' => 'test', 'plugin' => 'user_search', ]); $this->entity->save(); Loading
core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,8 @@ protected function doSearchPageUpdate() { $name = 'search.page.apple'; $entity = SearchPage::create([ 'id' => 'apple', 'label' => 'Apple search', 'path' => 'apple', 'plugin' => 'search_extra_type_search', ]); $entity->save(); Loading