Skip to content
PHP Ecosystem
Explore

BuiltInPanels

API reference › Yii3 Debug › Panel › BuiltInPanels

final classYii3\Debug\Panel\BuiltInPanels
Sourcesrc/Panel/BuiltInPanels.php

Classifies panel IDs as built-in, keeping the sidebar navigation and the toolbar chips in the same order.

MethodDescriptionDefined by
isBuiltIn() staticReturns whether a panel ID belongs to the built-in navigation.BuiltInPanels
ConstantValueDescriptionDefined by
IDS['request', 'log', 'event', 'profiling', 'db', 'mail', 'user', 'dump', 'asset']Built-in panel IDs, in display order.BuiltInPanels
public static function isBuiltIn(string $id): bool

Returns whether a panel ID belongs to the built-in navigation.

Parameters

ParameterTypeDescription
$idstringPanel ID to classify.

Returns

bool: true when the ID is built-in; false when the panel is an extension.