Elgg  Version 6.1
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

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

Elgg\Icons\AddFontAwesomeClassesHandler::$brands
protected

Definition at line 35 of file AddFontAwesomeClassesHandler.php.

Elgg\Icons\AddFontAwesomeClassesHandler::$common_icons
protected
Initial value:
= [
'delete-alt' => 'times-circle'

Definition at line 17 of file AddFontAwesomeClassesHandler.php.


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