Rework implementation of field type icon

Created on 27 April 2024, 7 months ago

Problem/Motivation

Currently the field type icon for the view mode switch field type is added by a custom hook_library_info_alter() implementation. But core (>= 10.2) allows to add it via hook_field_type_category_info_alter() as well.

Steps to reproduce

n/a

Proposed resolution

  • Use general instead of Layout as category for view mode switch field type
  • Rework the custom implementation and use hook_field_type_category_info_alter() instead

Remaining tasks

  • Create issue fork and MR to fix this issue

User interface changes

n/a

API changes

n/a

Data model changes

n/a

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany hctom

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