You are here

protected function FeedsUcAddressesProcessor::newEntity in Ubercart Addresses 7

Creates a new address in memory and returns it.

File

feeds/FeedsUcAddressesProcessor.inc, line 32
Contains the FeedsUcAddressesProcessor class.

Class

FeedsUcAddressesProcessor
A processor for importing data belonging to an Ubercart Addresses address.

Code

protected function newEntity(FeedsSource $source) {
  $address = UcAddressesAddressBook::newAddress();
  return $address;
}