BeforeResourceStorageInitializationEvent

This event is fired before a resource object is actually built/created. Example: A database record can be enriched to add dynamic values to each resource (file/folder) before creation of a storage.

API

getStorageUid()

| ReturnType: int |

 

setStorageUid(int $storageUid)

| ReturnType: void |

 

getRecord()

| ReturnType: array |

 

setRecord(array $record)

| ReturnType: void |

 

getFileIdentifier()

| ReturnType: ?string |

 

setFileIdentifier(?string $fileIdentifier)

| ReturnType: void |