You are here

function link_elements in Link 6

Same name and namespace in other branches
  1. 6.2 link.module \link_elements()

Implementation of hook_elements().

File

./link.module, line 445
Defines simple link field types.

Code

function link_elements() {
  $elements = array();
  $elements['link'] = array(
    '#input' => TRUE,
    '#process' => array(
      'link_process',
    ),
  );
  return $elements;
}