RepeaterMatrixField::getMatrixTypeLabel()

Get the label for the given matrix type (name or number)

Usage

// basic usage
$string = $repeaterMatrixField->getMatrixTypeLabel($type);

// usage with all arguments
$string = $repeaterMatrixField->getMatrixTypeLabel($type, $language = null);

Arguments

NameType(s)Description
$typeint string
$language (optional)Language int string null

Return value

string


RepeaterMatrixField methods and properties

API reference based on ProcessWire core version 3.0.261