You are here

function advagg_get_css_prefix_suffix in Advanced CSS/JS Aggregation 7.2

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 in tests/advagg.test
Tests rendering the stylesheets.
advagg_pre_render_styles in ./advagg.module
A #pre_render callback to add elements needed for CSS tags to be rendered.

File

./advagg.module, line 4261
Advanced CSS/JS aggregation module.

Code

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