function masked_input_element_info in Masked Input 7.2
Implements hook_element_info().
File
- ./
masked_input.module, line 75 - Provides a form element, Field widget, and simple API for using the Masked Input jQuery plugin.
Code
function masked_input_element_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;
}