GroupDefaultParentEntityPolicy
Home > @backstage/catalog-model
> GroupDefaultParentEntityPolicy
DefaultParentPolicy is an EntityPolicy that updates group entities with a parent of last resort. This ensures that, while we preserve any existing group hierarchies, we can guarantee that there is a single global root of the group hierarchy.
Signature:
class GroupDefaultParentEntityPolicy implements EntityPolicy
Implements: EntityPolicy
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(parentEntityRef) | Constructs a new instance of the GroupDefaultParentEntityPolicy class |
Methods
Method | Modifiers | Description |
---|---|---|
enforce(entity) |