Move generateSampleValue() to field types.

Created on 15 February 2024, 10 months ago
Updated 16 February 2024, 10 months ago

Problem/Motivation

Not all field types are properly supporting generateSampleValue() and with the addition of entity_reference, need to move the logic to the field type plugin files and deprecate the use of the service that is currently handling this.

Proposed resolution

Refactor code.

Remaining tasks

Move logic to plugin files, iterate over the custom fields and call the plugin function to set the value. Ensure all current field type plugins have the function set.

API changes

A new generateSampleValue() can be set in the field type plugins.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024