What I'm doing, where I've been, problems I have, problems I've solved.
Tuesday, 21 August 2012
Modify weight of field programmatically (Drupal 7)
The key to this are the two functions field_read_instance and field_update_instance. This can also be used to modify any of the other available properties of the field instance (apart from the entity_type, field_name and bundle).
I work on projects related to technology and taxonomy at the Natural History Museum, and as an advisor for the International Commission on Zoological Nomenclature. My interests are in entomology (stick insects, cockroaches and insect acoustics) and how technology can change the way research is done in biology and museums. Big fan of open access, open data and open hardware.