Template::setTabLabel()

Set a page editor tab label for default language (or specified language)

Available since version 3.0.263.

Usage

// basic usage
$template->setTabLabel(string $tab, string $label);

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

Arguments

NameType(s)Description
$tabstring

One of 'content' or 'children'

$labelstring

Label text to set

$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