AssetUsageStrategyInterface
interface AssetUsageStrategyInterface (View source)
Interface for asset usage strategies
Methods
bool
int
Details
bool
isInUse(AssetInterface $asset)
Returns true if the asset is used.
int
getUsageCount(AssetInterface $asset)
Returns the total count of usages found.
UsageReference[]
getUsageReferences(AssetInterface $asset)
Returns an array of usage reference objects.