You are here

public function Dimensions::defaultConfiguration in Commerce Feeds 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FieldTargetBase::defaultConfiguration

File

src/Feeds/Target/Dimensions.php, line 43

Class

Dimensions
Defines a physical_dimensions field mapper.

Namespace

Drupal\commerce_feeds\Feeds\Target

Code

public function defaultConfiguration() {
  return [
    'unit' => LengthUnit::getBaseUnit(),
  ];
}