Skip to the content
MasiliaLabs

Package · Content model

Icons chosen at run time.

The icon of every content type and group, kept in a registry: detected, checked against the Ibexa icon set, picked in the admin or by the assistant.

composer require masilia/ibexa-icons

What it does

masilia/ibexa-icons

The icon of a content type is a setting read when the container is built, so a type created later has none until someone edits YAML. This package keeps the icons in the database and finds every type and group that has none.

Names are checked against the Ibexa icon set. An editor picks one in the admin, or the assistant proposes them with a reason on an approval card. A choice made by a person is never replaced.

Install and use

A few commands

masilia/ibexa-icons
# what has no icon?
 composer require masilia/ibexa-icons
 php bin/console masilia:icons:list --missing
 php bin/console masilia:icons:defaults
 [OK] 5 icon(s) given.

Use it with the rest of the stack

Every Masilia package works on its own and better together.

composer require masilia/ibexa-icons