Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
http://drupalcode.org/project/physical.git/blob/refs/heads/7.x-1.x:/phys...
if (isset($items[$delta]['length'])) {
$value = array(
'length' => round($items[$delta]['length'], 5),
'width' => round($items[$delta]['width'], 5),
'height' => round($items[$delta]['height'], 5),
'unit' => $items[$delta]['unit'],
);
}
When length is removed with hook_physical_dimension_info_alter(&$dimensions), default values lost for edit form
Comments
Comment #1
jackhutton CreditAttribution: jackhutton commentedI've had the same thing happen. trying to work through all this..