function link_element_info in Link 7
Implements hook_element_info().
File
- ./
link.module, line 1048 - Defines simple link field types.
Code
function link_element_info() {
$elements = array();
$elements['link_field'] = array(
'#input' => TRUE,
'#process' => array(
'link_field_process',
),
'#theme' => 'link_field',
'#theme_wrappers' => array(
'form_element',
),
);
return $elements;
}