Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For some imports it was useful, that the keyword filter, would only fitler the field, not the whole import item.
Comment | File | Size | Author |
---|---|---|---|
#5 | skip_field_only-1372826-5.patch | 2 KB | mErilainen |
#2 | skip_field_only-1372826-2.patch | 2 KB | derhasi |
#1 | skip_field_only-1372826-1.patch | 1.4 KB | derhasi |
Comments
Comment #1
derhasi CreditAttribution: derhasi commentedMost mappers will do just fine, with an empty value provided (like the fields implementation).
So, there is a patch for this functionality.
Comment #2
derhasi CreditAttribution: derhasi commentedOh, I missed the non regex part. A modified patch is attached.
Comment #3
mErilainen CreditAttribution: mErilainen commentedI have used this in two projects and it has proven to be very useful.
But I get this error after applying the patch:
Comment #5
mErilainen CreditAttribution: mErilainen commentedThere were function calls with the &$field, when it should be just $field. This patch fixes it.
Comment #6
twistor CreditAttribution: twistor commentedLooks ok, there have been some changes.
Sorry that I missed this.