function key_element_info in Key 7
Same name and namespace in other branches
- 7.3 key.module \key_element_info()
- 7.2 key.module \key_element_info()
Implements hook_element_info().
File
- ./
key.module, line 89 - Provides the ability to manage keys, which can be used by other modules.
Code
function key_element_info() {
$type['key'] = array(
'#input' => TRUE,
'#size' => 0,
'#multiple' => FALSE,
'#process' => array(
'_key_element_expand',
'form_process_select',
'ajax_process_form',
),
'#theme' => 'select',
'#theme_wrappers' => array(
'form_element',
),
'#options' => array(),
// Allow filtering of the list of key configurations.
// See _key_filter_configs().
'#filters' => array(),
'#key_description' => TRUE,
);
return $type;
}