Interval Field
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
Overview
Interval field gives you a simple field and widget to allow users to enter interval values eg
- 2 months
- 3 days
- 4 years
Features
The field comes pre-bundled with one simple formatter and second, minute, hour, day, week, fortnight, month, quarter and year interval periods.
The available periods can be easily extended by other modules (see interval.api.php in 7.x for info).
In 8.x add new intervals using a file in your module called {$module}.intervals.yml with contents like so:
