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
| Name | Type(s) | Description |
|---|---|---|
$tab | string | One of 'content' or 'children' |
$label | string | Label text to set |
$language (optional) | Language string int null |
Return value
$thisObject instance it was called from (method supports fluent interface).
Template methods and properties
API reference based on ProcessWire core version 3.0.264