# ToolbarTitleProviderInterface

> Defines a panel-specific toolbar title without changing its sidebar name.

[API reference](/docs/api/index.md) › [Yii3 Debug](/docs/extensions/yii3-debug/reference/index.md) › [Panel](/docs/extensions/yii3-debug/reference/panel/index.md) › ToolbarTitleProviderInterface

| interface | `Yii3\Debug\Panel\ToolbarTitleProviderInterface` |
| --- | --- |
| Source | [`src/Panel/ToolbarTitleProviderInterface.php`](https://github.com/yii3/debug/blob/main/src/Panel/ToolbarTitleProviderInterface.php#L10) |

Implemented by 1 type:

- [`ProfilingPanel`](/docs/extensions/yii3-debug/reference/panel/profilingpanel/index.md)

Defines a panel-specific toolbar title without changing its sidebar name.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`toolbarTitle()`](#method-toolbarTitle) abstract | Returns the toolbar title. An empty string keeps the icon while hiding the text label. | `ToolbarTitleProviderInterface` |

## Method details

### toolbarTitle() <span id="method-toolbarTitle"></span>

```php
abstract public function toolbarTitle(): string
```

Returns the toolbar title. An empty string keeps the icon while hiding the text label.

**Returns**

`string`: Toolbar title, or `''` to show the icon alone.