\MatthiasWeb\RealMediaLibrary\metadataCommonTrait

Trait common folder meta and user settings helper methods.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
reloadAfterSave()
hardReloadAfterSaveIfBodyHasClass()
No private properties found
N/A

Methods

reloadAfterSave()

reloadAfterSave(array<mixed,string>  $response)

Reload the current selected folder after the metadata is successfully saved.

Parameters

array<mixed,string> $response

hardReloadAfterSaveIfBodyHasClass()

hardReloadAfterSaveIfBodyHasClass(array<mixed,string>  $response,string  $class)

Reload the current document if the `body` has a given class. This allows you e.g. to only reload in Media Library view instead of while editing a post.

Parameters

array<mixed,string> $response
string $class