AdminThemeFramework::renderNavIcon()

Render markup for a font-awesome icon that precedes a navigation label

This is the same as renderIcon() except that fixed-width is assumed and a "nav-nav-icon" class is added to it.

Usage

$string = $adminThemeFramework->renderNavIcon(string $icon);

Arguments

NameType(s)Description
$iconstring

Name of icon to render, excluding the “fa-” prefix

Return value

string


AdminThemeFramework methods and properties

API reference based on ProcessWire core version 3.0.251