Bootstrap
API reference › Bootstrap 6 › Bootstrap
Registers the yii.bootstrap6 message source when the application does not configure it.
Composer runs this class automatically through the extra.bootstrap entry of the package, so the widget labels are
translated without additional configuration.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
bootstrap() | Bootstrap |
Constants
Section titled “Constants”| Constant | Value | Description | Defined by |
|---|---|---|---|
TRANSLATION_CATEGORY | 'yii.bootstrap6' | Message category of the widget labels. | Bootstrap |
Method details
Section titled “Method details”bootstrap()
Section titled “bootstrap() ”public function bootstrap(yii\base\Application $app): voidParameters
| Parameter | Type | Description |
|---|---|---|
$app | yii\ | Application being bootstrapped. |