core/includes/common.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/includes/common.inc b/core/includes/common.inc index 2df43e6..4d1abb8 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -4454,7 +4454,7 @@ function drupal_render_collect_cache_tags($element, $tags = array()) { return $tags; } -/* +/** * A #post_render callback at the top level of the $page array. Collects the * tags for use in page cache. * @@ -4462,10 +4462,11 @@ function drupal_render_collect_cache_tags($element, $tags = array()) { * An HTML string of rendered output. * @param array $elements * A render array. + * * @return string * The same $children that was passed in - no modifications. */ -function drupal_post_render_cache_tags_page_set($children = array(), array $elements) { +function drupal_post_render_cache_tags_page_set($children, array $elements) { if (drupal_page_is_cacheable()) { $tags = &drupal_static('system_cache_tags_page', FALSE); $tags = drupal_render_collect_cache_tags($elements); @@ -4473,11 +4474,13 @@ function drupal_post_render_cache_tags_page_set($children = array(), array $elem return $children; } -/* +/** * Return the cache tags that were stored during drupal_render_page(). * * @return array * An array of cache tags. + * + * @see drupal_post_render_cache_tags_page_set() */ function drupal_cache_tags_page_get() { return drupal_static('system_cache_tags_page', array());