Closed (fixed)
Project:
Modeler API
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jul 2025 at 12:14 UTC
Updated:
18 Jul 2025 at 12:19 UTC
Jump to comment: Most recent
When the model owner gets enabled after modeler API but the entity was already enabled before, e.g. for ECA when eca_ui gets enabled a while after, then the \Drupal\modeler_api\Hook\EntityHooks::entityTypeBuild is not invoked and that can cause exceptions, e.g. when going to the collection page where the list builder declaration is missing.
Implement a hook that clears the cached definitions so that they get rebuilt when needed.
Comments
Comment #3
jurgenhaas