You are here

function views_handler_sort_date_options in Views (for Drupal 7) 5

3 calls to views_handler_sort_date_options()
comment_views_tables in modules/views_comment.inc
This include file implements views functionality on behalf of comment.module
node_views_tables in modules/views_node.inc
This include file implements views functionality on behalf of node.module
statistics_views_tables in modules/views_statistics.inc
This include file implements views functionality on behalf of statistics.module

File

./views.module, line 1669

Code

function views_handler_sort_date_options() {
  return array(
    '#type' => 'select',
    '#options' => array(
      'normal' => t('Normal'),
      'minute' => t('Granularity: minute'),
      'hour' => t('Granularity: hour'),
      'day' => t('Granularity: day'),
      'month' => t('Granularity: month'),
      'year' => t('Granularity: year'),
    ),
  );
}