Log in
Interface

DeleteByDirectoryPathInterface

Magento\MediaGalleryApi\Model\Asset\Command\DeleteByDirectoryPathInterface

What it does

This interface defines a command for deleting media gallery assets based on a directory path.

Developers would implement this interface to create services that remove all media assets stored within a specific directory.

Note that this interface is deprecated and developers should use DeleteAssetsByPathsInterface instead for asset deletion operations.

Public Methods

  • execute()