function date_views_install in Date 7.3
Same name and namespace in other branches
- 7.2 date_views/date_views.install \date_views_install()
Implements hook_install().
File
- date_views/
date_views.install, line 11 - Install, update and uninstall functions for the Date Views module.
Code
function date_views_install() {
variable_set('date_views_month_format_with_year', 'F Y');
variable_set('date_views_month_format_without_year', 'F');
variable_set('date_views_day_format_with_year', 'l, F j, Y');
variable_set('date_views_day_format_without_year', 'l, F j');
variable_set('date_views_week_format_with_year', 'F j, Y');
variable_set('date_views_week_format_without_year', 'F j');
}