AssetSourceInterface
interface AssetSourceInterface (View source)
Methods
This factory method is used instead of a constructor in order to not dictate a __construct() signature in this interface (which might conflict with an asset source's implementation or generated Flow proxy class).
A unique string which identifies the concrete asset source.
No description
Returns the resource path to the icon of the asset source
Returns the description of the asset source
No description
No description
Details
static AssetSourceInterface
createFromConfiguration(string $assetSourceIdentifier, array $assetSourceOptions)
This factory method is used instead of a constructor in order to not dictate a __construct() signature in this interface (which might conflict with an asset source's implementation or generated Flow proxy class).
string
getIdentifier()
A unique string which identifies the concrete asset source.
Must match /^[a-z][a-z0-9-]{0,62}[a-z]$/
string
getLabel()
No description
string
getIconUri()
Returns the resource path to the icon of the asset source
string
getDescription()
Returns the description of the asset source
AssetProxyRepositoryInterface
getAssetProxyRepository()
No description
bool
isReadOnly()
No description