Role configuration widget in Authenticated User Page Caching (Authcache) 7.2
Reusable form API element for role restriction settings.
File
- ./
authcache.module, line 1105 - Authenticated User Page Caching (and anonymous users, too!)
Functions
Name | Location | Description |
---|---|---|
authcache_element_info |
./ |
Implements hook_element_info(). |
authcache_get_role_restrict_roles |
./ |
Return a list of allowed roles. |
authcache_process_duration_select |
./ |
Expand duration element to popup menu and text-field for custom values. |
authcache_process_role_restrict |
./ |
Form API process callback for authcache_role_restrict element. |
authcache_role_restrict_access |
./ |
Check whether given account is allowed by configuration. |
authcache_role_restrict_members_access |
./ |
Check whether given account is allowed by configuration (members only). |
authcache_validate_duration_select |
./ |
Validation callback for authcache_duration_select element. |
authcache_validate_role_restrict |
./ |
Validation callback for authcache_role_restrict element. |