Overriding ignored config entities does not work

Created on 15 June 2023, about 1 year ago
Updated 4 January 2024, 6 months ago

Problem/Motivation

I am trying to override the ignored_config_entities setting by hard-coding its value in settings.php. The overridden values are not taken into consideration.

Steps to reproduce

- Select some settings to ignore via the Admin UI at /admin/config/development/configuration/ignore
- In settings.php, add the code:

$config['config_ignore.settings']['ignored_config_entities'] = [];

- Via the Admin UI, modify one of the settings that was ignored
- Open /admin/config/development/configuration
- Observe that the setting is not reported as modified
- Running drush cex also does not export the modified setting

Is this expected behavior?

πŸ’¬ Support request
Status

Closed: outdated

Version

2.4

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada infojunkie

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

Comments & Activities

  • Issue created by @infojunkie
  • Status changed to Closed: outdated 6 months ago
  • πŸ‡¨πŸ‡­Switzerland bircher πŸ‡¨πŸ‡Ώ

    This issue is being closed because Config Ignore 2.x is deprecated.

    The new 3,x version has been re-written from the ground up and works in a totally different way, yet it provides the same backwards compatible functionality. All the 2.x tests pass in 3.x and the 3.x codebase is easier to maintain.
    Users of 2.x are strongly encouraged to upgrade to 3.x, as there is a very simple update path.

    So likely this issue is no longer relevant. If you think that this issue still applies please open it again and target the new branch. All issues on the 2.x branch were closed in bulk.

Production build 0.69.0 2024