You are here

function authcache_wrap_tabs in Authenticated User Page Caching (Authcache) 7

Post-render callback for page-tabs. Wrap them into an authcache span, so we can find it again in JavaScript.

1 string reference to 'authcache_wrap_tabs'
authcache_preprocess_page in ./authcache.module
Process page template variables.

File

./authcache.module, line 573
Authenticated User Page Caching (and anonymous users, too!)

Code

function authcache_wrap_tabs($markup) {
  return !empty($markup) ? '<span id="authcache-tabs">' . $markup . '</span>' : '';
}