migrate_plus.migration_group.beer.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # A "migration group" is - surprise! - a group of migrations. It is used to
  2. # group migrations for display by our tools, and to perform operations on a
  3. # specific set of migrations. It can also be used to hold any configuration
  4. # common to those migrations, so it doesn't have to be duplicated in each one.
  5. # The machine name of the group, by which it is referenced in individual
  6. # migrations.
  7. id: beer
  8. # A human-friendly label for the group.
  9. label: Beer Imports
  10. # More information about the group.
  11. description: A few simple beer-related imports, to demonstrate how to implement migrations.
  12. # Short description of the type of source, e.g. "Drupal 6" or "WordPress".
  13. source_type: Custom tables
  14. # Here we add any default configuration settings to be shared among all
  15. # migrations in the group. For this example, the source tables are in the
  16. # Drupal (default) database, but usually if your source data is in a
  17. # database it will be external.
  18. shared_configuration:
  19. # Specifying 'source' here means that this configuration will be merged into
  20. # the 'source' configuration of each migration.
  21. source:
  22. # A better practice for real-world migrations would be to add a database
  23. # connection to your external database in settings.php and reference its
  24. # key here.
  25. key: default
  26. # As with the migration configuration (see beer_term), we add an enforced
  27. # dependency so the migration_group configuration will be removed on module
  28. # uninstall.
  29. dependencies:
  30. enforced:
  31. module:
  32. - migrate_example