public function init()
    {
        parent::init();
        if (!is_array($this->pathMap)) {
            $this->pathMap = [];
        }

        $this->pathMap = $this->compilePathMap(ArrayHelper::merge([
            '$themedViewPaths' => $this->buildThemedViewPaths(),
            '$themedWidgetPaths' => '$themedViewPaths/widgets',
            Yii::$app->viewPath => '$themedViewPaths',
            __DIR__ . '/widgets/views' => '$themedWidgetPaths',
        ], $this->getManager()->pathMap, $this->pathMap));
    }