Field::setIcon() method

Set the icon for this field

Usage

$field->setIcon(string $icon);

Arguments

NameType(s)Description
$iconstring

Icon name

Return value

$this

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


$field methods and properties

API reference based on ProcessWire core version 3.0.252