Add support for the new API for defining field type categories

Created on 25 April 2024, 2 months ago
Updated 26 April 2024, 2 months ago

Problem/Motivation

Since Drupal 10.2 there is a new API for defining field type categories, see https://www.drupal.org/node/3375748 β†’
Range module does not support it yet.

Steps to reproduce

Currently, when running tests on D11.x the following is being displayed:

Remaining self deprecation notices (24)

  24x: Using a translatable string as a category for field type is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3375748

Also, when adding a field via the UI, no icon is displayed and all 3 Range field types are visible on the first screen, which overloads the page

Proposed resolution

Add support for the New API for defining field type categories, like core Number field does

Remaining tasks

Implement

User interface changes

Module will support new field adding UI, including icon and mimc the core Number field UI

API changes

None

Data model changes

None

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Taran2L Lviv

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024