Problem/Motivation

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.

Proposed resolution

Implement a hook that clears the cached definitions so that they get rebuilt when needed.

Comments

jurgenhaas created an issue. See original summary.

  • jurgenhaas committed a21da18b on 1.0.x
    Issue #3534172 by jurgenhaas: Clear entity type cached definitions when...
jurgenhaas’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.