Add possibility to add a ruleIsAllowed logic

Created on 27 September 2023, about 1 year ago
Updated 2 February 2024, 10 months ago

Problem/Motivation

Currently interpolator rules are shown based on file type and target type when existing. But there are rules that only the field config can define. For instance rules that only produces one result, might not be available to a multi cardinality field or a file interpolator might only be possible depending on the extensions allowed.

Proposed resolution

Add a ruleIsAllowed method to the interface that takes the interpolatorConfig and the FieldDefinitionInterface and returns a boolean if it's allowed or not.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

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

Comments & Activities

Production build 0.71.5 2024