Custom Drupal module to modify a field value on save