Yaffs site version 1.1
[yaffs-website] / web / modules / contrib / migrate_plus / migrate_example / config / install / migrate_plus.migration_group.beer.yml
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
6 # The machine name of the group, by which it is referenced in individual
7 # migrations.
8 id: beer
9
10 # A human-friendly label for the group.
11 label: Beer Imports
12
13 # More information about the group.
14 description: A few simple beer-related imports, to demonstrate how to implement migrations.
15
16 # Short description of the type of source, e.g. "Drupal 6" or "WordPress".
17 source_type: Custom tables
18
19 # Here we add any default configuration settings to be shared among all
20 # migrations in the group. For this example, the source tables are in the
21 # Drupal (default) database, but usually if your source data is in a
22 # database it will be external.
23 shared_configuration:
24   # Specifying 'source' here means that this configuration will be merged into
25   # the 'source' configuration of each migration.
26   source:
27     # A better practice for real-world migrations would be to add a database
28     # connection to your external database in settings.php and reference its
29     # key here.
30     key: default
31
32 # As with the migration configuration (see beer_term), we add an enforced
33 # dependency so the migration_group configuration will be removed on module
34 # uninstall.
35 dependencies:
36   enforced:
37     module:
38       - migrate_example