Documentation

MediaManipulationInterface extends MediaInterface

Interface MediaManipulationInterface

Not used currently

Table of Contents

Methods

deleteMediaFile()  : void
getMedia()  : MediaCollectionInterface
Gets the associated media collection.
getMediaFolder()  : string|null
Get filesystem path to the associated media.
getMediaOrder()  : array<string|int, mixed>
Get display order for the associated media.
uploadMediaFile()  : void

Methods

getMediaFolder()

Get filesystem path to the associated media.

public getMediaFolder() : string|null
Return values
string|null

Media path or null if the object doesn't have media folder.

getMediaOrder()

Get display order for the associated media.

public getMediaOrder() : array<string|int, mixed>
Return values
array<string|int, mixed>

Empty array means default ordering.

uploadMediaFile()

public uploadMediaFile(UploadedFileInterface $uploadedFile) : void
Parameters
$uploadedFile : UploadedFileInterface

        
On this page

Search results