Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

migrate_process_vardump

51 sites No security coverage
View on drupal.org

Often used for debugging, this module takes any data given to it and dumps it to the terminal output and then passes it on. This is very useful when you’re writing migrations!

See the README for more details.

Requirements

  • Drupal 8 or 9

Usage

Use like any other process plugin:

  field_my_field:
    -
      plugin: some_plugin
      source: my_source
    -
      plugin: vardump
    -
      plugin: some_other_plugin

If it gets confusing, you can specify a "header" to display before the vardump:

  field_my_field:
    -
      plugin: vardump
      source: my_source
      header: 'Before some_plugin'
    -
      plugin: some_plugin
    -
      plugin: vardump
      header: 'After some_plugin'
    -
      plugin: some_other_plugin

The vardump process plugin acts as a passthrough. It does not modify the field value in the pipeline.

This Module is Part of a Migration Framework

This module is part of a migration framework created for a client project in which we migrated information from Digital Measures to a Drupal site. However, the specific problems each module solves are common to migration processes in general. With the exception of Digitalmeasures Migrate, these modules are fairly generic and can be used for a variety of other migrations.

For more information on how this framework was used for a Digital Measure Migration, read:

Here are the modules in the migration framework:

  • Digitalmeasures Migrate
    Provides a method to access Digital Measures API through Drupal.
  • Migrate Process XML
    Reads XML and allows you to extract particular key sections using XPath.
  • Migrate Process S3
    Allows you to download objects from an S3 bucket as files to your Drupal site.
  • Migrate Process URL
    Allows you to manipulate URL values that are provided within the data.
  • Migrate Process Regex
    Provides a way to use Regular Expressions in a Drupal migration.
  • Migrate Process Vardump
    Often used for debugging, this module takes any data given to it and dumps it to the terminal output and then passes it on.
  • Migrate Process Skip
    Provides a few different mechanisms to define what is “empty” and should be skipped.
  • Migrate Process Trim
    This module provides a quick and simple means to remove leading or trailing characters (such as spaces) in a Drupal migration.
  • Migrate Process Array
    Provides utilities for interacting with arrays during migration.

Activity

Total releases
1
First release
Jul 2025
Latest release
9 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.2 Stable Jul 2, 2025