Interface IDataEditorWithMediaPath
Must be implemented by property editors that store media and return media paths
Namespace: Umbraco.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public interface IDataEditorWithMediaPath
Remarks
Currently there are only 2x core editors that do this: upload and image cropper. It would be possible for developers to know implement their own media property editors whereas previously this was not possible.
Methods
View SourceGetMediaPath(Object)
Returns the media path for the value stored for a property
Declaration
string GetMediaPath(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
System.String |