make the allowed values into constants

Created on 16 June 2023, about 2 years 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 2 days ago

Created by

🇺🇸United States smustgrave

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