function hook_form_session_cache_admin_config_alter in Session Cache API 7
Implement this hook to make your storage mechanism selectable in the UI.
1 function implements hook_form_session_cache_admin_config_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- session_cache_file_form_session_cache_admin_config_alter in session_cache_file/
session_cache_file.module - Implements hook_form_FORM_ID_alter().
File
- ./
session_cache.api.php, line 93 - API documentation for Session Cache API module.
Code
function hook_form_session_cache_admin_config_alter(&$form, &$form_state) {
$form['session_cache_storage_method']['#options'][MYMODULE_SESSION_STORAGE] = t('my great storage method');
}