getEntityRelations()
Home > @backstage/plugin-catalog-react
> getEntityRelations
Get the related entity references.
Signature:
function getEntityRelations(entity: Entity | undefined, relationType: string, filter?: {
kind: string;
}): CompoundEntityRef[];
Parameters
Parameter |
Type |
Description |
---|---|---|
entity |
Entity | undefined | |
relationType |
string | |
filter |
{ kind: string; } |
(Optional) |