Provide icon for field overview

Created on 5 July 2024, 6 months ago
Updated 25 August 2024, 4 months ago

Problem/Motivation

With the new field overview, there are icons for the core fields. As the module provides a field type, it should also provide an icon.

Steps to reproduce

Add a field to an content type.
See the missing icon.

Proposed resolution

Create a folder misc>icons and add the SVG
Add background image via css like field_ui to the correct class : .field-option__icon.field-icon-custom (https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/field...)
Add css library (https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/field...)
Add form alter and add css library like this

Remaining tasks

Find icon
Create MR
Review MR
Approve MR

User interface changes

Adding an icon to the field overview

๐Ÿ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium Jonasanne

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