You are here

AuthcacheMenuLocalTabsFragment.inc in Authenticated User Page Caching (Authcache) 7.2

Defines an authcache fragment for rendering menu tabs.

File

modules/authcache_menu/includes/AuthcacheMenuLocalTabsFragment.inc
View source
<?php

/**
 * @file
 * Defines an authcache fragment for rendering menu tabs.
 */

/**
 * Render menu tabs
 *
 * @see menu.inc
 */
class AuthcacheMenuLocalTabsFragment implements AuthcacheP13nFragmentInterface {

  /**
   * Render and return menu tabs.
   */
  public function render($key, $subject, $context) {
    $tabs = menu_local_tabs();
    return render($tabs);
  }

}

Classes

Namesort descending Description
AuthcacheMenuLocalTabsFragment Render menu tabs