You are here

function feeds_action_skip_item in Feeds 8.2

Same name and namespace in other branches
  1. 7.2 feeds.rules.inc \feeds_action_skip_item()

Mark feeds import item as skipped.

1 string reference to 'feeds_action_skip_item'
feeds_rules_action_info in ./feeds.rules.inc
Implements of hook_rules_action_info().

File

./feeds.rules.inc, line 107
Rules integration.

Code

function feeds_action_skip_item($entity_wrapper) {
  $entity = $entity_wrapper
    ->value();
  if (isset($entity->feeds_item)) {
    $entity->feeds_item->skip = TRUE;
  }
}