Bundle/PageBundle/Twig/Extension/PageExtension.php
public function cmsPageCss()
    {
        $currentView = $this->currentViewHelper->getCurrentView();
        if (!$currentView || !$this->viewCssBuilder->cssFileExists($currentView)) {
            return '<!-- CSS File not found -->';
        }

        return sprintf(
            '<link href="%s" rel="stylesheet" type="text/css" rel="stylesheet"/>',
            $this->viewCssBuilder->getHref($currentView)
        );
    }
public function cmsPageCss()
    {
        $currentView = $this->currentViewHelper->getCurrentView();
        if (!$currentView || !$this->viewCssBuilder->cssFileExists($currentView)) {
            return '<!-- CSS File not found -->';
        }

        return sprintf(
            '<link href="%s" rel="stylesheet" type="text/css" rel="stylesheet"/>',
            $this->viewCssBuilder->getHref($currentView)
        );
    }
public function cmsPageCss ( ) { $ currentView = $ this -> currentViewHelper -> getCurrentView ( ) ; if ( ! $ currentView || ! $ this -> viewCssBuilder -> cssFileExists ( $ currentView ) ) { return '<!-- CSS File not found -->' ; } return sprintf ( '<link href="%s" rel="stylesheet" type="text/css" rel="stylesheet"/>' , $ this -> viewCssBuilder -> getHref ( $ currentView ) ) ; }
Construct CSS link markup for the style of all the Widgets contained in the current View.

@return string
Construct CSS link markup for the style of all the Widgets contained in the current View .