Module Description
HMS Field displays an integer formatted as Hours, Minutes or Seconds. The field stores values as integer. Both input and output can be formatted as Hours, Minutes and/or Seconds. Alter functions provide a way for developers to add their own format.
Formats Pick one of these formats for input or output:
* h:mm
* h:mm:ss
* m:ss
* h
* m
* s
Or alternatively, use hook_hms_format_alter() to add/edit your own format.
Credits
HMS Field was originally built by Drupal internetbureau .VDMi/ in Rotterdam, The Netherlands. Drupal 8 initial port is done by Websolutions Agency. Drupal 8 maintenance + Drupal 9 & 10 development is done by Entityone / make it fly
Formats Pick one of these formats for input or output:
* h:mm
* h:mm:ss
* m:ss
* h
* m
* s
Or alternatively, use hook_hms_format_alter() to add/edit your own format.
Credits
HMS Field was originally built by Drupal internetbureau .VDMi/ in Rotterdam, The Netherlands. Drupal 8 initial port is done by Websolutions Agency. Drupal 8 maintenance + Drupal 9 & 10 development is done by Entityone / make it fly
Module Link
Project Usage
1306
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The HMS Field module provides a way for developers to display and store integer values as Hours, Minutes, or Seconds, with the ability to format input and output in various ways such as h:mm, h:mm:ss, m:ss, h, m, or s, and the option to add/edit custom formats using hook_hms_format_alter().
Data Name
hms_field