You are here

protected function FeedsUcAddressesProcessor::entityDeleteMultiple in Ubercart Addresses 7

Deletes a series of addresses.

File

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

Class

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

Code

protected function entityDeleteMultiple($aids) {
  foreach ($aids as $index => $aid) {
    UcAddressesAddressBook::loadAddress($aid)
      ->delete();
  }
}