Interface IPluginFormElementTemplateIcon
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultPluginFormElementTemplateIcon
An icon for a
IPluginFormElementTemplateDescriptor, consisting of a media type and a URI.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
Method Details
-
getMediaType
String getMediaType()Gets the media type for the icon, such asimage/pngorimage/svg+xml.- Returns:
- The media type of the icon.
-
getUri
URI getUri()The URI with the icon's data, which is then passed toloadIcon.Note: The resource might be cached with the returned URI as the cache key. Plugins should append e.g. a version parameter (such as the plugin version) to the URI if needed.
- Returns:
- URI for the icon's data.
-