You are here

function viewfield_elements in Viewfield 6.2

Same name and namespace in other branches
  1. 6 viewfield.module \viewfield_elements()

Implementation of FAPI hook_elements().

File

./viewfield.module, line 200
Core functions.

Code

function viewfield_elements() {
  return array(
    'viewfield_select' => array(
      '#input' => TRUE,
      '#columns' => array(
        'vname',
        'vargs',
      ),
      '#delta' => 0,
      '#process' => array(
        'viewfield_select_process',
      ),
    ),
  );
}