You are here

function hook_authcache_enum_key_property_info in Authenticated User Page Caching (Authcache) 7.2

Return information about key properties.

Return value

array An associative array of key-value pairs. Where keys are the names of key properties and values are associative arrays of the following structure:

  • name: The translated human readable property name
  • choices: An array of all possible values for this property

See also

hook_authcache_enum_key_property_info_alter()

4 functions implement hook_authcache_enum_key_property_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

authcache_ajax_authcache_enum_key_property_info in modules/authcache_ajax/authcache_ajax.module
Implements hook_authcache_enum_key_property_info().
authcache_enum_authcache_enum_key_property_info in modules/authcache_enum/authcache_enum.module
Implements hook_authcache_enum_key_property_info().
authcache_enum_test_authcache_enum_key_property_info in modules/authcache_enum/tests/authcache_enum_test.module
Implements hook_authcache_enum_key_property_info()
authcache_esi_authcache_enum_key_property_info in modules/authcache_esi/authcache_esi.module
Implements hook_authcache_enum_key_property_info().
1 invocation of hook_authcache_enum_key_property_info()
authcache_enum_user_keys in modules/authcache_enum/authcache_enum.module
Enumerate every possible authcache key for authenticated users.

File

modules/authcache_enum/authcache_enum.api.php, line 49
API hooks exposed by the Authcache Enum module.

Code

function hook_authcache_enum_key_property_info() {
  return array(
    'js' => array(
      'name' => t('Browser supports JavaScript'),
      'choices' => array(
        TRUE,
        FALSE,
      ),
    ),
  );
}