7/29/2023 0 Comments Drupal vm aliasWith the tools in place and enabled, we can start building some migrations. You technically don’t need the Migrate Drupal UI, but it can be useful for reading migration messages, which is how Migrate will report errors or notices. You can also use drush en if you prefer the command line. Bring up MAMP, Drupal VM, or your Docker containers and navigate to Admin > Extend. Next we need to enable migration modules in your Drupal 8 site. Using Composer to install modules may be a little weird if you’re used to drush dl, but you’ll quickly get accustomed to the workflow. Note that unlike Drupal 7, the best place to install these modules is in modules/contrib, and not sites/all/modules/contrib. You can install both using Composer: $ composer require drupal/migrate_plus While you can run all your migrations through the web UI, it can be far easier to troubleshoot problems on the command line. Migrate Tools provides drush integration. Migrate Plus also provides additional migration plugins that we may need as we develop our migrations, too. This allows migrations to be grouped together and more easily managed. Migrate Plus’ key feature is migration groups. Next you’ll want to get a two additional modules to support your migrations, Migrate Plus and Migrate Tools. At the time of this writing, the recommended way to install drush is with Composer: $ cd your/drupal/8/site/root Drush still exists in Drupal 8, and it’s just as useful. If you’ve worked with Drupal 7 before, you’re probably familiar with drush. The biggest of which is lack of command line integration. Installing required toolsĭrupal core provides a lot of migration tools out of the box, but there are still some gaps that make it frustrating to work with. We’ve laid the conceptual foundation, now we can lay the technical one. Visual appearance is a completely different topic (and perhaps one I should write about in the future). We’re interested in functional details, content types, organizational strategies, that sort of thing. We didn’t get very far in technical tasks, but we spent a lot of time revisiting and rethinking our previous design choices.Īt this point you should have an idea of how you want your new site to work. We installed Drupal 8 locally, and performed some initial, basic configuration. In the last post we set the stage to build a custom migration in Drupal 8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |