You are here

public function AuthcacheP13nSettingAccessInterface::check in Authenticated User Page Caching (Authcache) 7.2

Check whether the user has access to the given setting.

Parameters

object $account: The user account to check.

any $params: Params set by the client.

array $context: Additional run-time per-request context (key-value pairs).

Return value

bool Return TRUE when the user has access, FALSE otherwise.

1 method overrides AuthcacheP13nSettingAccessInterface::check()
AuthcacheP13nTestEchoSettingAccess::check in modules/authcache_p13n/tests/authcache_p13n.stub.inc
Check whether the user has access to the given setting.

File

modules/authcache_p13n/includes/AuthcacheP13nSettingAccessInterface.inc, line 26
Defines authcache personalized setting access checker.

Class

AuthcacheP13nSettingAccessInterface
Interface for personalization setting access checkers.

Code

public function check($account, $params, $context);