diff -u b/core/modules/migrate/src/Plugin/migrate/process/SkipOnEmpty.php b/core/modules/migrate/src/Plugin/migrate/process/SkipOnEmpty.php --- b/core/modules/migrate/src/Plugin/migrate/process/SkipOnEmpty.php +++ b/core/modules/migrate/src/Plugin/migrate/process/SkipOnEmpty.php @@ -39,18 +39,17 @@ * @code * process: * parent: - * - - * plugin: skip_on_empty - * method: process - * source: parent - * - - * plugin: migration - * migration: d6_taxonomy_term + * - + * plugin: skip_on_empty + * method: process + * source: parent + * - + * plugin: migration + * migration: d6_taxonomy_term * @endcode * - * If parent is empty, any further processing of the property is skipped. In - * this example, if parent is empty, the next plugin (migration) will not be - * run. + * If parent is empty, any further processing of the property is skipped - thus, + * the next plugin (migration) will not be run. * * @see \Drupal\migrate\Plugin\MigrateProcessInterface * @@ -74,11 +73,11 @@ * with the $row above. * * @return mixed - * The input value, $value, if it is not falsey. + * The input value, $value, if it is not empty. * * @throws \Drupal\migrate\MigrateSkipRowException - * Thrown if source property is not set and row should be skipped, by - * default records with STATUS_IGNORED status in the map. + * Thrown if the source property is not set and the row should be skipped, + * records with STATUS_IGNORED status in the map. */ public function row($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { if (!$value) { @@ -101,11 +100,11 @@ * with the $row above. * * @return mixed - * The input value, $value, if it is not falsey. + * The input value, $value, if it is not empty. * * @throws \Drupal\migrate\MigrateSkipProcessException - * Thrown if source property is not set and rest of the process should be - * skipped. + * Thrown if the source property is not set and rest of the process should + * be skipped. */ public function process($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { if (!$value) {