Clear the "Entity type" select field from unused types

Created on 19 September 2022, over 2 years ago
Updated 30 March 2023, over 1 year ago

Problem/Motivation

On export tab the "Entity type" select field contains all fieldable types as options. On my project i have many entity types also custom, that has no metatags fields and this huge list little confuse editors who works with this functionallity. And for my opinion to use the types that has no metatags fields as options has no sence here.

Proposed resolution

I propose to add some additional function like hasBundles($entity_type) in MetaTagDownloadForm that will check if entity type has at least one bundle with meta tags field before add the entity type as option.
Befor improvment: entity_type_before.png β†’
After improvment: entity_type_after.png β†’

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024