function drush_takeover_takeover in MongoDB 8
File
- takeover/
takeover.drush.inc, line 17
Code
function drush_takeover_takeover($source_id, $target_id) {
$classname = 'Drupal\\takeover\\Takeover' . Container::camelize($source_id);
if (class_exists($classname)) {
$classname::takeover(Drupal::service($source_id), Drupal::service($target_id));
}
}