Expose units in units.xml to the Units module

BrandTim - November 4, 2009 - 00:04
Project:Units API
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

The Units module is great for adding unit capabilities to CCK fields via MVF. Unfortunately, it does not ship with any unit definitions. UnitsAPI has many unit definitions. It would be great if the units defined in UnitsAPI were available to the Units module.

Tim Knittel

#1

BrandTim - November 4, 2009 - 00:08
Status:active» needs review

A patch to accomplish the above feature request. It uses the function unitsapi_define_units() (a Units hook) and is fully documented.

(Submitted separately from the above feature request to create an issue number in order to name the patch according to Drupal standards.)

Tim Knittel

AttachmentSize
unitsapi-622622-2.patch 2.27 KB
 
 

Drupal is a registered trademark of Dries Buytaert.