You are here

function cck_select_other_elements in CCK Select Other 6

Implementation of hook_elements

File

./cck_select_other.module, line 72
Implements a select list widget that lets a user provide an alternate option.

Code

function cck_select_other_elements() {
  return array(
    'cck_select_other' => array(
      '#input' => TRUE,
      '#columns' => array(
        'value',
      ),
      '#delta' => 0,
      '#process' => array(
        'cck_select_other_process',
      ),
      '#pre_render' => array(
        'cck_select_other_pre_render',
      ),
      '#post_render' => array(
        'cck_select_other_post_render',
      ),
    ),
  );
}