You are here

function hook_feeds_before_import in Feeds 8.2

Same name and namespace in other branches
  1. 7.2 feeds.api.php \hook_feeds_before_import()

Invoked before a feed source import starts.

Parameters

FeedsSource $source: FeedsSource object that describes the source that is going to be imported.

Related topics

1 invocation of hook_feeds_before_import()
FeedsSource::startImport in lib/Drupal/feeds/FeedsSource.php
Start importing a source.

File

./feeds.api.php, line 106
Documentation of Feeds hooks.

Code

function hook_feeds_before_import(FeedsSource $source) {

  // See feeds_rules module's implementation for an example.
}