You are here

function _date_widget_info in Date 5

Implementation of hook_widget_info().

1 call to _date_widget_info()
date_widget_info in ./date.module
Wrapper functions for date administration forms.

File

./date_admin.inc, line 13

Code

function _date_widget_info() {
  $info = array(
    'date_select' => array(
      'label' => t('Select List'),
      'field types' => array(
        'date',
        'datestamp',
      ),
    ),
    'date_text' => array(
      'label' => t('Text Field with strtotime validation'),
      'field types' => array(
        'date',
        'datestamp',
      ),
    ),
  );
  if (module_exists('jscalendar')) {
    $info['date_js'] = array(
      'label' => t('Text Field with javascript pop-up calendar'),
      'field types' => array(
        'date',
        'datestamp',
      ),
    );
  }
  return $info;
}