Problem/Motivation

The amount of plugin definitions always multiplies with the amount of existing content entity bundles. That may result to a lot of definitions. The amount needs to be reduced so that the overhead of plugin definitions is not too high.

Steps to reproduce

Proposed resolution

The task, subject and qualifier plugin managers can be optimized, so that they recieve additional arguments when loading definitions. With these arguments, plugin definitions may be dynamically build up on request:

  • The deriver is not creating one definition for each combination of subject type and bundle, instead the plugin definition declares a list of allowed types and bundles (all at once).
  • Then, when requesting plugin definitions for a specific type and bundle combination, possible combinations that match up with the arguments are being build up.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mxh created an issue. See original summary.

mxh’s picture

Issue summary: View changes
mxh’s picture

Issue summary: View changes
mxh’s picture

Title: Reduce the amount of plugin definitions being created » Optimize cached plugin definitions

  • mxh committed 3bcd558d on 1.0.x
    Issue #3329173 by mxh: Optimize cached plugin definitions
    
mxh’s picture

Title: Optimize cached plugin definitions » Optimize build and caching of plugin definitions

  • mxh committed a8cdfcd6 on 1.0.x
    Issue #3329173 by mxh: Optimize cached plugin definitions
    
mxh’s picture

Title: Optimize build and caching of plugin definitions » Reduce the amount of plugin definitions being created
mxh’s picture

Assigned: mxh » Unassigned