RepeaterMatrixField::matrixTypeIcon()
Get icon from given header string or blank if none found
Usage
// basic usage
$string = $repeaterMatrixField->matrixTypeIcon($head);
// usage with all arguments
$string = $repeaterMatrixField->matrixTypeIcon($head, bool $remove = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$head | string null int | |
$remove (optional) | bool | Also remove it from given string? Default:false |
Return value
string
RepeaterMatrixField methods and properties
API reference based on ProcessWire core version 3.0.260