How to start a migration programmatically

Created on 11 July 2016, almost 8 years ago
Updated 11 April 2024, about 2 months ago

Hey,

after debugging for now around 5 hours I give up and have to ask.
How is it possible to start a drupal 8 migration programmatically? This seems like something that should be very simple, but I can not figure out how to do it?

Greetings Sebastian

πŸ’¬ Support request
Status

Fixed

Version

8.2 ⚰️

Component
MigrationΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡©πŸ‡ͺGermany sgurlt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine buenos

    Is it possible to execute a group migration in a similar way?
    With Drush we would do smth like "drush migrate:import --group=my_group".
    How would one execute that from code when there is no migration id to be passed?

Production build 0.69.0 2024