You are here

function date_elements in Date 6

Same name and namespace in other branches
  1. 5.2 date/date.module \date_elements()
  2. 6.2 date/date.module \date_elements()

Implementation of hook_elements().

This code and all the processes it uses are in a separate file, included only when processing forms.

File

date/date.module, line 382
Defines date/time field types for the Content Construction Kit (CCK).

Code

function date_elements() {
  include_once drupal_get_path('module', 'date') . '/date_elements.inc';
  return _date_elements();
}