Property | Type | Description | |
---|---|---|---|
$assetRepository | |||
$nodeDataRepository | |||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface |
Method | Description | |
---|---|---|
removeUnusedImageVariant ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName, mixed $oldValue, mixed $value ) : void | Removes unused ImageVariants after a Node property changes to a different ImageVariant. |
public removeUnusedImageVariant ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName, mixed $oldValue, mixed $value ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | the affected node |
$propertyName | string | name of the property that has been changed/added |
$oldValue | mixed | the property value before it was changed or NULL if the property is new |
$value | mixed | the new property value |
return | void |
protected AssetRepository,Neos\Media\Domain\Repository $assetRepository | ||
return |
protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository | ||
return |