- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Related, with 162 followers: π¬ Drupal 10 updating issue - Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist Needs work .
When a config entity implementing EntityWithPluginCollectionInterface
is reacting on dependency removal, it should ask the plugins from the collections if they want to take some action when their dependencies are about to be removed.
This issue is adding a generic solution for the one fixed in #2562107: EntityDisplayBase should react on removal of its components dependencies β .
ConfigEntityBase::onDependencyRemoval()
that tests if the entity implements EntityWithPluginCollectionInterface
. If so, iterate through collections and if there are specific plugin dependencies being removed, call the plugin ::onDependencyRemoval()
method to allow the plugin to react.onDependencyRemoval()
in \Drupal\Component\Plugin\DependentPluginInterface
.onDependencyRemoval()
implementations in base classes implementing DependentPluginInterface
with a simple return FALSE;
.is reacting on dependency removal, it should ask the plugins from the collections if they want to take some action when their dependencies are about to be removed.
None.
None.
New method \Drupal\Component\Plugin\DependentPluginInterface::onDependencyRemoval()
.
None.
Needs work
11.0 π₯
Last updated
Changes an existing API or subsystem. Not backportable to earlier major versions, unless absolutely required to fix a critical bug.
Enhances developer experience.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Related, with 162 followers: π¬ Drupal 10 updating issue - Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist Needs work .