You are here

public static function RenderCache::drupal_add_library in Render cache 7.2

Overrides drupal_add_library().

See also

drupal_add_library()

File

lib/RenderCache.php, line 191
Contains RenderCache

Class

RenderCache
Static Service Container wrapper wrapping Drupal class.

Code

public static function drupal_add_library($module, $name, $every_page = NULL) {
  if (!static::$renderStack) {
    return static::callOriginalFunction('drupal_add_library', func_get_args());
  }
  return static::$renderStack
    ->drupal_add_library($module, $name, $every_page);
}