constant MVF_UNIT_UNKNOWN in Measured Value Field 7
Constant should be used in Unit Suggesters, when desired output unit cannot be determined.
5 uses of MVF_UNIT_UNKNOWN
- mvf_items_convert in ./
mvf.module - Supportive function, normally should be used in formatters of MVF field.
- mvf_unit_suggest in ./
mvf.module - Request a suggested unit on a particular items of MVF field.
- mvf_unit_suggester_hardcoded_unit in plugins/
unit_suggesters/ hardcoded.inc - Suggest output unit for a MVF field.
- mvf_unit_suggester_locale_unit in plugins/
unit_suggesters/ locale.inc - Suggest output unit for a MVF field.
- mvf_unit_suggester_per_user_unit in mvf_per_user/
plugins/ unit_suggesters/ per_user.inc - Suggest output unit for a MVF field.
File
- ./
mvf.module, line 39 - Define a field type of measured value.
Code
define('MVF_UNIT_UNKNOWN', -2);