You are here

function authcache_wrap_local_actions in Authenticated User Page Caching (Authcache) 7

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

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

File

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

Code

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