public function getDefaultTheme()
    {
        $theme = new Theme('/', [
            'name'    => 'cnvs/canvas-theme-default',
            'extra'   => [
                'canvas-theme' => [
                    'title' => $this->getDefaultThemeName(),
                ],
            ],
        ]);
        $theme->setVersion(Constants::DEFAULT_THEME_VERSION);

        return $theme;
    }
public function getDefaultTheme()
    {
        $theme = new Theme('/', [
            'name'    => 'cnvs/canvas-theme-default',
            'extra'   => [
                'canvas-theme' => [
                    'title' => $this->getDefaultThemeName(),
                ],
            ],
        ]);
        $theme->setVersion(Constants::DEFAULT_THEME_VERSION);

        return $theme;
    }
public function getDefaultTheme ( ) { $ theme = new Theme ( '/' , [ 'name' => 'cnvs/canvas-theme-default' , 'extra' => [ 'canvas-theme' => [ 'title' => $ this -> getDefaultThemeName ( ) , ] , ] , ] ) ; $ theme -> setVersion ( Constants :: DEFAULT_THEME_VERSION ) ; return $ theme ; }
Generate a default theme.
Generate a default theme .