Config action to set a third party setting of a display (form or view) component

Created on 24 July 2025, 10 days ago

Problem/Motivation

At the moment it is possible to set components with config action setComponent/s in entity view/form displays. And it is possible to set 3rd party settings of the config or config entity with setThirdPartySetting/s config action. But it would be nice to have an action that can set third party setting of the view/form display component. Yes, it is possible to pass third_party_settings property in setComponent, but that would mean that the complete component will be overwritten.

For features like "Field widget actions" from AI module, or from any other feature that sets 3rd party settings to widgets or field formatters this will be very useful, as it is not always possible (or not always needed) to know all the settings for the field widget to set the 3rd party setting.

Proposed resolution

Create a config action setComponentThirdPartySetting that will be applied to Entity View/Form Displays config entities. The parameters should be:
- component/field name: e.g. name
- module the third party setting is provided with: e.g. module
- the settings themselves: e.g. settings

Remaining tasks

Create MR

User interface changes

No

Introduced terminology

Config action to set component's third party settings.

API changes

No

Data model changes

No

Release notes snippet

New config action setComponentThirdPartySetting that will be applied to Entity View/Form Displays config entities to set third party settings for a component. The parameters:
- component/field name: e.g. name
- module the third party setting is provided with: e.g. module
- the settings themselves: e.g. settings

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

recipe system

Created by

πŸ‡©πŸ‡ͺGermany a.dmitriiev

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

Comments & Activities

Production build 0.71.5 2024