function theme_authcache_p13n_partial in Authenticated User Page Caching (Authcache) 7.2
Theme a placeholder for a part of an assembly.
Related topics
7 theme calls to theme_authcache_p13n_partial()
- AuthcacheAjaxTestCase::testAjaxAssembly in modules/authcache_ajax/ tests/ authcache_ajax.test 
- Cover authcache_ajax assembly and partial.
- AuthcacheEsiTestCase::testEsiAssembly in modules/authcache_esi/ tests/ authcache_esi.test 
- Cover authcache_esi assembly and partial.
- AuthcacheP13nTestMarkup::testCustomClientMarkup in modules/authcache_p13n/ tests/ authcache_p13n.markup.test 
- Cover theme_authcache_p13n_X().
- AuthcacheP13nTestMarkup::testDefaultFallbackMarkup in modules/authcache_p13n/ tests/ authcache_p13n.markup.test 
- Cover theme_authcache_p13n_X default fallback markup.
- authcache_field_field_attach_view_alter in modules/authcache_field/ authcache_field.module 
- Implements hook_field_attach_view_alter().
File
- modules/authcache_p13n/ authcache_p13n.module, line 336 
- Provides methods for serving personalized content fragments.
Code
function theme_authcache_p13n_partial($variables) {
  $partial = $variables['partial'];
  $assembly = $variables['assembly'];
  $param = $variables['param'];
  $clients = $variables['clients'];
  $fallback = $variables['fallback'];
  $original = $variables['original'];
  $context = array(
    'type' => 'partial',
    'id' => $partial,
    'param' => $param,
    'assembly' => $assembly,
    'clients' => $clients,
    'original' => $original,
  );
  $fallback_markup = '<!-- Error: Failed to render partial -->';
  drupal_alter('authcache_p13n_client_fallback', $fallback_markup, $fallback, $context);
  return $fallback_markup;
}