TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Imaging\IconProviderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Imaging\IconProviderInterface:
TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider

Public Member Functions

 prepareIconMarkup (Icon $icon, array $options=[])
 

Detailed Description

Interface IconProviderInterface

Definition at line 20 of file IconProviderInterface.php.

Member Function Documentation

◆ prepareIconMarkup()

TYPO3\CMS\Core\Imaging\IconProviderInterface::prepareIconMarkup ( Icon  $icon,
array  $options = [] 
)

Prepare the icon markup and set it to the icon by setMarkup()

Parameters
Icon$icon
array$options

Implemented in TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider, TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider, and TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider.