Template::setIcon()

Set the icon to use with this template

Usage

$template->setIcon(string $icon);

Arguments

NameType(s)Description
$iconstring

Font-awesome icon name

Return value

$this

Object instance it was called from (method supports fluent interface).


Template methods and properties

API reference based on ProcessWire core version 3.0.252