drupal 7 year field

This project is not covered by Drupal’s security advisory policy.

Year field

Description

This module provides a field type for year without using date module.

Installation

1. Enable the module.

Usage

1. For new field select "Year" field type
2. Configure default settings for field.
- Start year (You can use default year integer value like "2001" or use strtotime strings)
- End year (You can use default year integer value like "2001" or use strtotime strings)
- Default value
3. Choose "Academic year" if you need show year like "2017 - 2018". (This is just widget. in database will be stored only 2017 value!)

Work with

- Views exposed filters (select list)
- DDF Entity Reference (https://www.drupal.org/project/ddf)
- Views Reference Filter (https://www.drupal.org/project/entityreference_filter)

Credits

Sergey Grigorenko

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Site structure
  • chart icon21 sites report using this module
  • Created by svipsa on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases