protected function Dimensions::prepareValue in Commerce Feeds 8
Prepares a single value.
Parameters
int $delta: The field delta.
array $values: The values.
Overrides FieldTargetBase::prepareValue
File
- src/
Feeds/ Target/ Dimensions.php, line 35
Class
- Dimensions
- Defines a physical_dimensions field mapper.
Namespace
Drupal\commerce_feeds\Feeds\TargetCode
protected function prepareValue($delta, array &$values) {
parent::prepareValue($delta, $values);
$values['unit'] = $this->configuration['unit'];
}