Trigger E_USER_DEPRECATED from config entity presave bc layers

Created on 4 October 2017, almost 7 years ago
Updated 27 May 2024, 3 months ago

Problem/Motivation

Opening as a follow-up from #2810097: Allow views to provide the canonical entity URL of all entities, not just nodes. β†’ but this applies to other previous issues too.

When we have bc layers for configuration entities, we've implemented those by implementing a presave hook so that the config saves correctly. This covers both load/save upgrade paths, but also default configuration from modules.

In 9.x we'll want to remove those bc layers, but to actually warn module authors that they're relying on deprecations, we'll need to trigger_error() when outdated configuration is saved.

Putting in configuration entity system since it's a general issue.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
Configuration entityΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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.

Production build 0.71.5 2024