Documentation · ViewHelper reference

Form / Option / IconViewHelper

Icon option

Sets the icon option in the Flux form, which can then be read by extensions using Flux forms. Consult the documentation of extensions which use the icon setting to learn more about how icons are used.

value needs to be the absolute path to the image file, e.g. /typo3conf/ext/myext/Resources/Public/Icons/Element.svg.

Example

<flux:form.option.icon value="/typo3conf/ext/myext/Resources/Public/Icons/Element.svg"/>

/

  • Tag usage example

    <flux:form.option.icon value="NULL">
    	<!-- tag content - may be ignored! -->
    </flux:form.option.icon>
  • Inline usage example

    {flux:form.option.icon(value: 'NULL')}

Arguments

Argument Description Type
value

Path and name of the icon file

string
Required attribute

Revision history