- Issue created by @pdureau
- π«π·France pdureau Paris
- πΊπΈUnited States dhansen
Let's not set a manual "allowed list", we need a dynamic way, maybe by checking if
view_builder
attributes exist in the content entity typeWe'll borrow logic from the core EntityDisplayModeController which does indeed include a check for
$entity_type->hasViewBuilderClass()
. It's also got a check for$entity_type->get('field_ui_base_route')
which we probably won't use because we're using of the Display Modes and not trying to create them. - π«π·France pdureau Paris
t's also got a check for $entity_type->get('field_ui_base_route') which we probably won't use because we're using of the Display Modes and not trying to create them.
oh yes, we need to also select the display mode!