You are here

public static function AuthcacheP13nObjectResourcePreprocessor::defaultPreprocessors in Authenticated User Page Caching (Authcache) 7.2

Return the default set of preprocessors.

2 calls to AuthcacheP13nObjectResourcePreprocessor::defaultPreprocessors()
AuthcacheP13nTestObjectResourcePreprocessorCase::testDefaultPreprocessors in modules/authcache_p13n/tests/authcache_p13n.object-resource-preprocessor.test
Covers AuthcacheP13nObjectResourcePreprocessor::preprocess().
authcache_p13n_authcache_p13n_resource_preprocessors in modules/authcache_p13n/authcache_p13n.module
Implements hook_authcache_p13n_resource_preprocessors().

File

modules/authcache_p13n/includes/AuthcacheP13nObjectResourcePreprocessor.inc, line 95
Defines the class AuthcacheP13nObjectResourcePreprocessor.

Class

AuthcacheP13nObjectResourcePreprocessor
A utility class suitable for preparing resources for the object factory.

Code

public static function defaultPreprocessors() {
  return array(
    'value' => array(
      __CLASS__,
      'processValue',
    ),
    'collection' => array(
      __CLASS__,
      'processCollection',
    ),
    'func' => array(
      __CLASS__,
      'processFactoryMethod',
    ),
    'class' => array(
      __CLASS__,
      'processClassConstructor',
    ),
  );
}