You are here

public function MigrateDestinationVotingApiVote::postImport in Voting API 7.3

Same name and namespace in other branches
  1. 7.2 votingapi.migrate.inc \MigrateDestinationVotingApiVote::postImport()

We're done with importing votes, recalculate the results.

File

./votingapi.migrate.inc, line 134
Migration support for voting api.

Class

MigrateDestinationVotingApiVote
@file Migration support for voting api.

Code

public function postImport() {
  foreach ($this->importedIds as $entity_type => $entity_ids) {
    $this
      ->recalculateResults($entity_type, array_keys($entity_ids));
  }
}