- Issue created by @pdureau
We are defining some classes with properties being plugins attachments/collections:
island
propertysources
propertydisplay_builder_page_layout/PageLayout
config entity type:
sources
propertyconditions
property (this one is already managed by ConditionPluginCollection
, so PageLayout already implement EntityWithPluginCollectionInterface
)sources
propertyThere is a Drupal mechanism to attach collections of plugins in a config entity in a standardized way:
This may brings the following benefits:
ConfigEntityBase
is doing some nice stuff like calculating automatically the dependencies ConfigEntityBase
and EntityForm
are managing some aspects of the values savingCreate an IslandPluginCollection:
Create an SourcePluginCollection:
Active
1.0
Main / Misc.