Template::setNameLabel()

Set custom label for page name input in page editor

Available since version 3.0.263.

Usage

// basic usage
$template->setNameLabel(string $label);

// usage with all arguments
$template->setNameLabel(string $label, $language = null);

Arguments

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

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.264