Get the prefix and suffix for inline css.

Return value

array An array where the prefix is key 0 and suffix is key 1.

2 calls to advagg_get_css_prefix_suffix()
AdvAggCascadingStylesheetsTestCase::testRenderFile dans tests/advagg.test
Tests rendering the stylesheets.
advagg_pre_render_styles dans ./advagg.module
A #pre_render callback to add elements needed for CSS tags to be rendered.

Fichier

./advagg.module, line 4262

Code

function advagg_get_css_prefix_suffix() {
    $embed_prefix = "\n/* <![CDATA[ */\n";
    $embed_suffix = "\n/* ]]> */\n";
    return array(
        $embed_prefix,
        $embed_suffix,
    );
}