public function MigrateDestinationMenuLinks::complete in Migrate 7.2
Implementation of MigrateDestination::complete().
1 call to MigrateDestinationMenuLinks::complete()
- MigrateDestinationMenuLinks::import in plugins/
destinations/ menu_links.inc - Import a single row.
File
- plugins/
destinations/ menu_links.inc, line 176 - Support for menu link destinations.
Class
- MigrateDestinationMenuLinks
- Destination class implementing migration into {menu_links}.
Code
public function complete($menu_link, stdClass $row) {
// We do nothing here but allow child classes to act.
$migration = Migration::currentMigration();
$menu_link->migrate = array(
'machineName' => $migration
->getMachineName(),
);
// Call any general handlers.
migrate_handler_invoke_all('menu_links', 'complete', $menu_link, $row);
// Then call any complete handler for this specific Migration.
if (method_exists($migration, 'complete')) {
$migration
->complete($menu_link, $row);
}
}