How to rewrite a config dependency?

Created on 3 January 2023, almost 2 years ago
Updated 22 March 2023, over 1 year ago

Problem/Motivation

How could I remove a config dependency using config_rewrite. For example i would like to delete: "core.entity_view_display.node.topic.search_index.yml"

Is there anyway for me to
config_rewrite: [dependencies][config]
Would that allow me to enter in just what I want for config depedencies

the config file to overwrite:
core
langcode: en
status: true
dependencies:
config:
- core.entity_view_display.comment.comment.default
- field.field.node.event.body

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡¬Bulgaria Nikolay Penchev

    I think you are unable, to do that since Drupal core behaviour is building dependencies on save , basically you are rewriting configurations and after that on that config object it's called ->save method which is building the dependencies.

Production build 0.71.5 2024