function views_cache_get

cis7 views_cache_get($cid, $use_language = FALSE)
cle7 views_cache_get($cid, $use_language = FALSE)
elmsmedia7 views_cache_get($cid, $use_language = FALSE)
icor7 views_cache_get($cid, $use_language = FALSE)
meedjum_blog7 views_cache_get($cid, $use_language = FALSE)
mooc7 views_cache_get($cid, $use_language = FALSE)

Return data from the persistent views cache.

This is just a convenience wrapper around cache_get().


int $cid: The cache ID of the data to retrieve.

bool $use_language: If TRUE, the data will be requested specific to the currently active language.

Return value

stdClass|bool The cache or FALSE on failure.

7 calls to views_cache_get()
entity_views_plugins in sites/all/modules/ulmus/entity/views/
Implements hook_views_plugins().
eva_get_views in sites/all/modules/ulmus/eva/eva.module
Get a list of views and displays attached to speficic entities.
views_block_info in sites/all/modules/ulmus/views/views.module
Implement hook_block_info().
views_content_views_content_type_content_types in sites/all/modules/ulmus/ctools/views_content/plugins/content_types/
Return all content types available.
views_content_views_panes_content_type_content_types in sites/all/modules/ulmus/ctools/views_content/plugins/content_types/
Return all content types available.

... See full list


sites/all/modules/ulmus/views/includes/, line 184
Load Views' data so that it knows what is available to build queries from.


function views_cache_get($cid, $use_language = FALSE) {
  global $language;

  if (variable_get('views_skip_cache', FALSE)) {
    return FALSE;
  if ($use_language) {
    $cid .= ':' . $language->language;

  return cache_get($cid, 'cache_views');



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.