function masked_input_element_info_alter in Masked Input 8
Implements hook_install().
File
- ./
masked_input.module, line 85 - Contains masked_input.module.
Code
function masked_input_element_info_alter(array &$info) {
$types['masked_input'] = array(
'#input' => TRUE,
'#size' => 60,
'#maxlength' => 128,
'#autocomplete_path' => FALSE,
'#process' => array(
'masked_input_process_callback',
'ajax_process_form',
),
'#theme' => 'textfield',
'#theme_wrappers' => array(
'form_element',
),
'#mask' => '',
'#placeholder' => '_',
'#definitions' => array(),
);
return $types;
}