public function MigrateDestinationVotingApiVote::completeRollback in Voting API 7.3
Same name and namespace in other branches
- 7.2 votingapi.migrate.inc \MigrateDestinationVotingApiVote::completeRollback()
Give handlers a shot at cleaning up after an entity has been rolled back.
Parameters
$entity_id: ID of the entity which has been deleted.
File
- ./
votingapi.migrate.inc, line 202 - Migration support for voting api.
Class
- MigrateDestinationVotingApiVote
- @file Migration support for voting api.
Code
public function completeRollback($entity_id) {
// Call any complete handler for this specific Migration.
$migration = Migration::currentMigration();
if (method_exists($migration, 'completeRollback')) {
$migration
->completeRollback($entity_id);
}
}