You are here

public function AuthcacheP13nTestObjectResourcePreprocessorCase::recordPreprocessorInvocation in Authenticated User Page Caching (Authcache) 7.2

Record one invocation of a preprocessor.

File

modules/authcache_p13n/tests/authcache_p13n.object-resource-preprocessor.test, line 43
Define test cases for object factory.

Class

AuthcacheP13nTestObjectResourcePreprocessorCase
Tests for object factory.

Code

public function recordPreprocessorInvocation($definition, $priority, $key, $enqueue) {
  $args = func_get_args();
  $args[3] = is_callable($enqueue);
  $this->preprocessorInvocations[] = $args;
}