public function MigrateDestinationFieldablePanelsPanes::bulkRollback in Fieldable Panels Panes (FPP) 7
Delete a batch of fieldable panels panes at once.
Parameters
array $fpids: Array of fieldable panels pane IDs to be deleted.
File
- includes/
fieldable_panels_pane.migrate.inc, line 95 - Support for fieldable_panels_pane destinations.
Class
- MigrateDestinationFieldablePanelsPanes
- Destination class implementing migration into fieldable panels panes.
Code
public function bulkRollback(array $fpids) {
migrate_instrument_start('entity_delete_multiple');
$this
->prepareRollback($fpids);
entity_delete_multiple('fieldable_panels_pane', $fpids);
$this
->completeRollback($fpids);
migrate_instrument_stop('entity_delete_multiple');
}