public function configurationAction($sitePackageKey = null)
    {
        $sitePackageKey = $sitePackageKey ?: $this->getDefaultSitePackageKey();

        $value = [];
        $value['sitePackage'] = $sitePackageKey;
        $value['ui'] = [
            'sitePackages' =>  $this->getSitePackages(),
            'viewportPresets' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.viewportPresets'),
            'localePresets' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.localePresets'),
            'hotkeys' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.hotkeys'),
            'preview' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'preview')
        ];
        $value['styleguideObjects'] = $this->getStyleguideObjects($sitePackageKey);

        $this->view->assign('value', $value);
    }
public function configurationAction($sitePackageKey = null)
    {
        $sitePackageKey = $sitePackageKey ?: $this->getDefaultSitePackageKey();

        $value = [];
        $value['sitePackage'] = $sitePackageKey;
        $value['ui'] = [
            'sitePackages' =>  $this->getSitePackages(),
            'viewportPresets' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.viewportPresets'),
            'localePresets' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.localePresets'),
            'hotkeys' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'ui.hotkeys'),
            'preview' => $this->configurationService->getSiteConfiguration($sitePackageKey, 'preview')
        ];
        $value['styleguideObjects'] = $this->getStyleguideObjects($sitePackageKey);

        $this->view->assign('value', $value);
    }
public function configurationAction ( $ sitePackageKey = null ) { $ sitePackageKey = $ sitePackageKey ? : $ this -> getDefaultSitePackageKey ( ) ; $ value = [ ] ; $ value [ 'sitePackage' ] = $ sitePackageKey ; $ value [ 'ui' ] = [ 'sitePackages' => $ this -> getSitePackages ( ) , 'viewportPresets' => $ this -> configurationService -> getSiteConfiguration ( $ sitePackageKey , 'ui.viewportPresets' ) , 'localePresets' => $ this -> configurationService -> getSiteConfiguration ( $ sitePackageKey , 'ui.localePresets' ) , 'hotkeys' => $ this -> configurationService -> getSiteConfiguration ( $ sitePackageKey , 'ui.hotkeys' ) , 'preview' => $ this -> configurationService -> getSiteConfiguration ( $ sitePackageKey , 'preview' ) ] ; $ value [ 'styleguideObjects' ] = $ this -> getStyleguideObjects ( $ sitePackageKey ) ; $ this -> view -> assign ( 'value' , $ value ) ; }
Get all configurations for this site package

@param string $sitePackageKey
Get all configurations for this site package