1 date_sql_handler.inc | date_sql_handler::granularity_form($granularity) |
@todo.
File
- core/
modules/ date/ views/ date_sql_handler.inc, line 679 - SQL helper for Date API.
Class
- date_sql_handler
- A class to manipulate date SQL.
Code
function granularity_form($granularity) {
$form = array(
'#title' => t('Granularity'),
'#type' => 'radios',
'#default_value' => $granularity,
'#options' => $this->date_parts(),
);
return $form;
}