- Issue created by @mjpa
- Status changed to Needs review
over 1 year ago 9:25am 24 May 2023 - last update
over 1 year ago 180 pass
We use a config override to change the allowed target bundles and set the existing ones to FALSE in the hope they'd get filtered out but we can only add extra paragraph types to a field's config.
Have a config.factory.override
service that disables some allowed paragraph bundles on a field's config. When you go to add a value for that field, the disabled options are still visible.
Filter the configuration in getSortedAllowedTypes() so target_bundles set to FALSE are removed.
Review / test patch.
None.
None.
None.
Needs review
1.0
Code