You are here

function i18n_elements in Internationalization 6

Implementation of hook_elements().

Add a process callback for textfields.

File

./i18n.module, line 276
Internationalization (i18n) module.

Code

function i18n_elements() {
  $type = array();
  $type['textfield'] = array(
    '#process' => array(
      'i18n_textfield_process',
    ),
  );
  return $type;
}