Skip to content
Snippets Groups Projects
Commit 77d3ed2b authored by Mathias Müller's avatar Mathias Müller
Browse files

Issue #3340799: Adopt config_rewrite for install time config.

parent 2cf16ca6
No related merge requests found
output_values:
key: key
title: title
description: description
uri: uri
alias: alias
external: external
absolute: absolute
relative: relative
existing: existing
weight: weight
expanded: expanded
enabled: enabled
uuid: uuid
options: options
config_rewrite: replace
output_values:
key: key
title: title
description: '0'
uri: '0'
alias: '0'
external: '0'
absolute: '0'
relative: '0'
existing: '0'
weight: '0'
expanded: '0'
enabled: '0'
uuid: '0'
options: options
......@@ -6,5 +6,6 @@ package: Lupus Decoupled Drupal
core_version_requirement: ^9 || ^10
dependencies:
- custom_elements:custom_elements
- drupal:config_rewrite
- lupus_decoupled:lupus_decoupled_ce_api
- rest_menu_items:rest_menu_items
......@@ -10,8 +10,6 @@ use Drupal\user\Entity\Role;
/**
* Add config for rest_menu_items.
*
* @todo Improve the way configs are added in #3304540.
*/
function lupus_decoupled_menu_install() {
$module_handler = \Drupal::service('module_handler');
......@@ -19,7 +17,6 @@ function lupus_decoupled_menu_install() {
$source = new FileStorage($config_path);
$configs = [
'rest_menu_items.config',
'rest.resource.rest_menu_item',
];
foreach ($configs as $config) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment