You are here

function authcache_admin_advanced in Authenticated User Page Caching (Authcache) 6

Advanced Rulesets @todo

File

./authcache.admin.inc, line 425
Admin forms and pages.

Code

function authcache_admin_advanced() {
  drupal_set_title(t('Authcache Advanced Rulesets'));
  $form = array();
  if (!count(variable_get('authcache_roles', array()))) {
    drupal_set_message(t('You must first select roles to cache before setting up advanced caching.'), 'error');
    return $form;
  }
  $form['#prefix'] = 'test';
  return $form;
}