make the allowed values into constants

Created on 16 June 2023, over 1 year ago

Problem/Motivation

Follow up from πŸ“Œ Move \Drupal\field_ui\Form\EntityViewDisplayEditForm::getFieldLabelOptions() to a trait Fixed post from there

\Drupal\field_ui\Form\EntityViewDisplayEditForm::getFieldLabelOptions() contains code that is essential to configuring a field formatter, with 4 magic keys, yet it is in a protected method on a single form implementation.

Steps to reproduce

TBD

Proposed resolution

make the allowed values into constants

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
FieldΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

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

Comments & Activities

Production build 0.71.5 2024