Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Config entity icon

1 sites No security coverage Drupal 11 · not 10
View on drupal.org

This module adds an icon picker to configuration entity forms, allowing you to select and store an icon for entity types like content types and taxonomies. It works with various icon packs and stores the chosen icon as a setting with the entity, eliminating the need for separate modules for each entity type.

Adds an icon picker to the edit form of any Drupal config entity — node types, taxonomy vocabularies, menus, media types, custom config entities — and stores the chosen icon as a third-party setting on the entity itself.

Built on top of Drupal core's Icon API (11.1+) via the contributed UI Icons module, so any registered icon pack works out of the box: Lucide, Bootstrap Icons, Font Awesome, Iconify, custom SVG packs — pick from whichever you've installed.

Replaces the need for per-entity-type icon modules (node_type_icon, taxonomy_term_icon, …) with a single, generic mechanism that works for every existing config entity type and every future one without code changes.

Features

  • Any config entity — admin picks which entity types get the picker via a settings page
  • Any icon pack — works with all Icon API providers (Lucide, Bootstrap Icons, Font Awesome, custom packs)
  • Third-party setting storage — no schema changes, no new fields, icon travels with the entity's config
  • Lightweight resolver service — config_entity_icon.resolver for reading + rendering icons from PHP
  • Auto-placement in existing forms — integrates with the additional_settings vertical tab when present
  • Fully OOP — modern PHP 8.3+, no procedural hooks, attribute-based registration

Requirements

Usage

After installation:

  1. Visit Administration » Configuration » User interface » Config Entity Icon
  2. Tick the entity types you want to receive an icon picker (e.g. Content type, Taxonomy vocabulary, Menu)
  3. Edit any entity of an enabled type — an Icon picker appears on the form
  4. Render the chosen icon in any template or PHP via the config_entity_icon.resolver service

Other icon-related modules

License

  • Module: GPL-2.0-or-later

For installation, usage, and technical details see README.md.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
0.0.1 Stable 11 May 19, 2026
0.x-dev Dev 11 May 19, 2026