Extend field validation to also allow for arrays

Created on 15 September 2025, 2 days ago

Problem/Motivation

When validating field values in \Drupal\modeler_api\Component::validate, the interface expects either a string or NULL. But there could also be arrays in some rare circumstances, like e.g. in the "Entity Diff" action plugin from ECA.

Proposed resolution

Implode arrays for the duration of validation and replace the array value back at the end.

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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.

No activities found.

Production build 0.71.5 2024