public function MigrateDestinationVotingApiVote::postImport in Voting API 7.2
Same name and namespace in other branches
- 7.3 votingapi.migrate.inc \MigrateDestinationVotingApiVote::postImport()
We're done with importing votes, recalculate the results.
File
- ./
votingapi.migrate.inc, line 133 - 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));
}
}