This project is not covered by Drupal’s security advisory policy.

FEEDS CONDITIONAL TAMPER

Extends the Feeds Tamper module with two plugins that conditionally skip a feed item or a field value based on a configurable condition. The condition is evaluated against any source field in the feed row, or against the field value being tampered itself.

REQUIREMENTS

  • Drupal 10.2 or 11
  • tamper (drupal/tamper)
  • feeds_tamper (drupal/feeds_tamper ^2.0)

INSTALLATION

  1. Place the module at docroot/modules/custom/feeds_conditional_tamper/.
  2. Enable it: ddev drush en feeds_conditional_tamper -y
  3. Rebuild the cache: ddev drush cr

PLUGINS PROVIDED

Skip item on condition (skip_item_on_condition) When the condition is TRUE, the entire feed row is dropped — the node (or other entity) is not created or updated for that row. Equivalent to the built-in "Required" plugin, but driven by a flexible comparison rather than a simple empty/not-empty check.

Skip value on condition (skip_value_on_condition) When the condition is TRUE, only the current field value is cleared (set to NULL). The rest of the feed row continues to be processed normally — the node is saved, but that particular field is left empty.

Supporting organizations: 

Project information

Releases