Use OptionsProviderInterface to allow options widgets usage

Created on 16 September 2024, 2 months ago

Problem/Motivation

Proposed resolution

Modify TypedResourceObjectItem to implement OptionsProviderInterface and all the necessary "options" methods.
Then we won't need dedicated widgets for a select or radio buttons element, but we'll simply need to write a quick https://api.drupal.org/api/drupal/core!modules!field!field.api.php/funct... to let the typed_resource_object field type use the existing options_buttons and options_select widgets.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇫🇷France arousseau

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