src/Theme.php
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));
    }
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));
    }
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 ) ) ; }
Getter for pathMap.
Getter for pathMap .