Related Posts

  • Create Comments in Drupal 8 Programmatically

    Gabe Sullice

    Creating comments programmatically in Drupal 8 is incredibly easy once you know just which fields are required and why. In Drupal 8, comments are now full-featured, fieldable entities — just like nodes or taxonomy terms. In addition to unifying the way we create content, comments, and other entities, this has made Drupal’s commenting system much more robust and flexible.

  • Third-party Content Synchronization with Drupal Migrate

    Gabe Sullice

    Sometimes you need to pull in content or data on an ongoing basis from a third-party product or website. Maybe you want to pull in a list of books from Amazon, or show some products from your Shopify store. You may need all the flexibility of nodes in Drupal, but you don’t want to copy content manually, and you don’t want to be forced to move away from those other systems that are already serving your needs.

    Here’s a recipe for synchronizing content from outside websites or products – in our case, Eventbrite – using the Migrate module.