Elgg  Version 6.2
Public Member Functions | Protected Attributes | List of all members
Elgg\Icons\AddFontAwesomeClassesHandler Class Reference

Adds FontAwesome icon classes. More...

Public Member Functions

 __invoke (\Elgg\Event $event)
 Converts icon classes to correct FontAwesome classes. More...
 

Protected Attributes

 $common_icons
 
 $brands
 

Detailed Description

Adds FontAwesome icon classes.

Since
4.3

Definition at line 10 of file AddFontAwesomeClassesHandler.php.

Member Function Documentation

◆ __invoke()

Elgg\Icons\AddFontAwesomeClassesHandler::__invoke ( \Elgg\Event  $event)

Converts icon classes to correct FontAwesome classes.

Parameters
\Elgg\Event$event'view_vars', 'output/icon'
Returns
array

Definition at line 484 of file AddFontAwesomeClassesHandler.php.

Member Data Documentation

◆ $brands

Elgg\Icons\AddFontAwesomeClassesHandler::$brands
protected

Definition at line 35 of file AddFontAwesomeClassesHandler.php.

◆ $common_icons

Elgg\Icons\AddFontAwesomeClassesHandler::$common_icons
protected
Initial value:
= [
'delete-alt' => 'times-circle',
'delete' => 'times',
'grid' => 'th',
'info' => 'info-circle',
'mail' => 'envelope-regular',
'refresh' => 'redo',
'remove' => 'times',
'settings' => 'wrench',
'settings-alt' => 'cog',
'warning' => 'exclamation-triangle',
]

Definition at line 17 of file AddFontAwesomeClassesHandler.php.


The documentation for this class was generated from the following file: