diff --git a/src/Feeds/Target/Address.php b/src/Feeds/Target/Address.php new file mode 100644 index 0000000..1b17a88 --- /dev/null +++ b/src/Feeds/Target/Address.php @@ -0,0 +1,45 @@ +getType() === 'address_country') { + $definition->addProperty('value'); + } + if ($field_definition->getType() === 'address') { + $definition + ->addProperty('langcode') + ->addProperty('country_code') + ->addProperty('administrative_area') + ->addProperty('locality') + ->addProperty('dependent_locality') + ->addProperty('postal_code') + ->addProperty('sorting_code') + ->addProperty('address_line1') + ->addProperty('address_line2') + ->addProperty('organization') + ->addProperty('given_name') + ->addProperty('additional_name') + ->addProperty('family_name'); + } + return $definition; + } +}