protected function getAssets(array $config)
    {
        $bootstrapBasePath = $config['bootstrap']['dist_path'];

        // Add CSS and JS assets
        $assets = array(
            'symboo_bootstrap_css' => array(
                'inputs' => array($bootstrapBasePath . '/css/bootstrap.min.css'),
                'filters' => array('cssrewrite'),
                'output' => 'css/bootstrap.css'
            ),
            'symboo_bootstrap_js' => array(
                'inputs' => array($bootstrapBasePath . '/js/bootstrap.min.js'),
                'output' => 'js/bootstrap.js'
            )
        );

        // Add bootstrap theme if desired
        if ($config['bootstrap']['use_theme']) {
            $assets['symboo_bootstrap_css']['inputs'][] = $bootstrapBasePath . '/css/bootstrap-theme.min.css';
        }

        // Add glyphicon assets
        foreach (array('eot', 'svg', 'ttf', 'woff') as $fontType) {
            $assets['symboo_bootstrap_glyphicons_' . $fontType] = array(
                'inputs' => array($bootstrapBasePath . '/fonts/glyphicons-halflings-regular.' . $fontType),
                'output' => 'fonts/glyphicons-halflings-regular.' . $fontType
            );
        }

        return $assets;
    }
protected function getAssets(array $config)
    {
        $bootstrapBasePath = $config['bootstrap']['dist_path'];

        // Add CSS and JS assets
        $assets = array(
            'symboo_bootstrap_css' => array(
                'inputs' => array($bootstrapBasePath . '/css/bootstrap.min.css'),
                'filters' => array('cssrewrite'),
                'output' => 'css/bootstrap.css'
            ),
            'symboo_bootstrap_js' => array(
                'inputs' => array($bootstrapBasePath . '/js/bootstrap.min.js'),
                'output' => 'js/bootstrap.js'
            )
        );

        // Add bootstrap theme if desired
        if ($config['bootstrap']['use_theme']) {
            $assets['symboo_bootstrap_css']['inputs'][] = $bootstrapBasePath . '/css/bootstrap-theme.min.css';
        }

        // Add glyphicon assets
        foreach (array('eot', 'svg', 'ttf', 'woff') as $fontType) {
            $assets['symboo_bootstrap_glyphicons_' . $fontType] = array(
                'inputs' => array($bootstrapBasePath . '/fonts/glyphicons-halflings-regular.' . $fontType),
                'output' => 'fonts/glyphicons-halflings-regular.' . $fontType
            );
        }

        return $assets;
    }
protected function getAssets ( array $ config ) { $ bootstrapBasePath = $ config [ 'bootstrap' ] [ 'dist_path' ] ; // Add CSS and JS assets $ assets = array ( 'symboo_bootstrap_css' => array ( 'inputs' => array ( $ bootstrapBasePath . '/css/bootstrap.min.css' ) , 'filters' => array ( 'cssrewrite' ) , 'output' => 'css/bootstrap.css' ) , 'symboo_bootstrap_js' => array ( 'inputs' => array ( $ bootstrapBasePath . '/js/bootstrap.min.js' ) , 'output' => 'js/bootstrap.js' ) ) ; // Add bootstrap theme if desired if ( $ config [ 'bootstrap' ] [ 'use_theme' ] ) { $ assets [ 'symboo_bootstrap_css' ] [ 'inputs' ] [ ] = $ bootstrapBasePath . '/css/bootstrap-theme.min.css' ; } // Add glyphicon assets foreach ( array ( 'eot' , 'svg' , 'ttf' , 'woff' ) as $ fontType ) { $ assets [ 'symboo_bootstrap_glyphicons_' . $ fontType ] = array ( 'inputs' => array ( $ bootstrapBasePath . '/fonts/glyphicons-halflings-regular.' . $ fontType ) , 'output' => 'fonts/glyphicons-halflings-regular.' . $ fontType ) ; } return $ assets ; }
Returns the assets to be added

@param array $config

@return array
Returns the assets to be added