You are here

public static function RenderCache::drupal_add_css in Render cache 7.2

Overrides drupal_add_css().

See also

drupal_add_css()

File

lib/RenderCache.php, line 179
Contains RenderCache

Class

RenderCache
Static Service Container wrapper wrapping Drupal class.

Code

public static function drupal_add_css($data = NULL, $options = NULL) {
  if (!static::$renderStack) {
    return static::callOriginalFunction('drupal_add_css', func_get_args());
  }
  return static::$renderStack
    ->drupal_add_assets('css', $data, $options);
}