3 namespace Drupal\migrate\Plugin\migrate\process;
5 use Drupal\migrate\MigrateExecutableInterface;
6 use Drupal\migrate\ProcessPluginBase;
7 use Drupal\migrate\Row;
11 * Logs values without changing them.
13 * The log plugin will log the values that are being processed by other plugins.
23 * @see \Drupal\migrate\Plugin\MigrateProcessInterface
25 * @MigrateProcessPlugin(
29 class Log extends ProcessPluginBase {
34 public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
36 $migrate_executable->saveMessage($value);
38 // Pass through the same value we received.