BuiltInPanels
API reference › Yii3 Debug › Panel › BuiltInPanels
Classifies panel IDs as built-in, keeping the sidebar navigation and the toolbar chips in the same order.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
isBuiltIn() static | Returns whether a panel ID belongs to the built-in navigation. | BuiltInPanels |
Constants
Section titled “Constants”| Constant | Value | Description | Defined by |
|---|---|---|---|
IDS | ['request', | Built-in panel IDs, in display order. | BuiltInPanels |
Method details
Section titled “Method details”isBuiltIn()
Section titled “isBuiltIn() ”public static function isBuiltIn(string $id): boolReturns whether a panel ID belongs to the built-in navigation.
Parameters
| Parameter | Type | Description |
|---|---|---|
$id | string | Panel ID to classify. |
Returns
bool: true when the ID is built-in; false when the panel is an extension.