You are here

public function AuthcacheP13nSettingValidatorInterface::validate in Authenticated User Page Caching (Authcache) 7.2

Validate the given parameters.

Throw AuthcacheP13nRequestInvalidInput to abort a request.

Note: At the time this method is called, the bootstrap phase is not guaranteed to be greater than DRUPAL_BOOTSTRAP_SESSION. Therefore avoid calling functions which will trigger hook invocations like e.g. entity_load.

Parameters

var $params: Params set by the client.

Return value

array Params to be used in subsequent processing.

1 method overrides AuthcacheP13nSettingValidatorInterface::validate()
AuthcacheP13nTestEchoSettingValidator::validate in modules/authcache_p13n/tests/authcache_p13n.stub.inc
Validate the given parameters.

File

modules/authcache_p13n/includes/AuthcacheP13nSettingValidatorInterface.inc, line 27
Defines authcache personalized setting validator.

Class

AuthcacheP13nSettingValidatorInterface
Interface for personalization setting validators.

Code

public function validate($params);