You are here

interface AuthcacheP13nSettingAccessInterface in Authenticated User Page Caching (Authcache) 7.2

Interface for personalization setting access checkers.

Hierarchy

Expanded class hierarchy of AuthcacheP13nSettingAccessInterface

All classes that implement AuthcacheP13nSettingAccessInterface

File

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

View source
interface AuthcacheP13nSettingAccessInterface {

  /**
   * Check whether the user has access to the given setting.
   *
   * @param object $account
   *   The user account to check.
   *
   * @param any $params
   *   Params set by the client.
   *
   * @param array $context
   *   Additional run-time per-request context (key-value pairs).
   *
   * @return bool
   *   Return TRUE when the user has access, FALSE otherwise.
   */
  public function check($account, $params, $context);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nSettingAccessInterface::check public function Check whether the user has access to the given setting. 1