1 drupal.inc drupal_render_cache_by_query($query, $function, $expire = CACHE_TEMPORARY, $granularity = NULL)

Prepares an element for caching based on a query.

Deprecated

since 1.0.0

See also

backdrop_render_cache_by_query()

Related topics

File

core/includes/drupal.inc, line 1291
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_render_cache_by_query($query, $function, $expire = CACHE_TEMPORARY, $granularity = NULL) {
  return backdrop_render_cache_by_query($query, $function, $expire, $granularity);
}