1 link.module link_element_info()

Implements hook_element_info().

File

core/modules/link/link.module, line 790
Defines simple link field types.

Code

function link_element_info() {
  $elements = array();
  // We use "link_field" here to avoid conflicts with theme_link().
  $elements['link_field'] = array(
    '#input' => TRUE,
    '#process' => array('link_field_process'),
    '#theme' => 'link_field',
    '#theme_wrappers' => array('form_element'),
  );
  return $elements;
}