#
Font Awesome
1.0.4+
#
TC\ComponentLibrary\Util\FontAwesome
#
getIconDataFromClassesString
Parses a CSS classes string and returns Font Awesome icon information.
public static function getIconDataFromClassesString(string $classesString): array
#
Arguments
#
Return data
#
classesStringToLess
Parses CSS classes string, gets Font Awesome icon information, and returns the LESS rules for the icon.
public static function classesStringToLess(string $classesString): string
#
Arguments
#
Return data.
If parsed successfully, a string containing .m-faBase()
, .m-faContent()
and font-weight
LESS rules will be returned.
Only the icon and its style classes will be processed. Other classes will be ignored.
#
Templater functions
#
tc_fa_classes_to_less
See