Interface IPluginFormElementTemplateIcon

    • Method Detail

      • getMediaType

        String getMediaType()
        Gets the media type for the icon, such as image/png or image/svg+xml.
        Returns:
        The media type of the icon.
      • getUri

        URI getUri()
        The URI with the icon's data, which is then passed to loadIcon.

        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.