interface FeedsExecutableInterface in Feeds 8.3
Defines an interface for importing feeds.
Hierarchy
- interface \Drupal\feeds\FeedsExecutableInterface
Expanded class hierarchy of FeedsExecutableInterface
All classes that implement FeedsExecutableInterface
2 files declare their use of FeedsExecutableInterface
- FeedImportHandlerTest.php in tests/
src/ Unit/ FeedImportHandlerTest.php - FeedRefreshTest.php in tests/
src/ Unit/ Plugin/ QueueWorker/ FeedRefreshTest.php
File
- src/
FeedsExecutableInterface.php, line 8
Namespace
Drupal\feedsView source
interface FeedsExecutableInterface {
/**
* Parameter passed when starting a new import.
*
* @var string
*/
const BEGIN = 'begin';
/**
* Parameter passed when fetching.
*
* @var string
*/
const FETCH = 'fetch';
/**
* Parameter passed when parsing.
*
* @var string
*/
const PARSE = 'parse';
/**
* Parameter passed when processing.
*
* @var string
*/
const PROCESS = 'process';
/**
* Parameter passed when cleaning.
*
* @var string
*/
const CLEAN = 'clean';
/**
* Parameter passed when finishing.
*
* @var string
*/
const FINISH = 'finish';
/**
* Processes a stage of an import.
*
* @param \Drupal\feeds\FeedInterface $feed
* The feed to batch.
* @param string $stage
* The stage which the import is at.
* @param array $params
* Parameters relevant to the current stage.
*/
public function processItem(FeedInterface $feed, $stage, array $params = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsExecutableInterface:: |
constant | Parameter passed when starting a new import. | ||
FeedsExecutableInterface:: |
constant | Parameter passed when cleaning. | ||
FeedsExecutableInterface:: |
constant | Parameter passed when fetching. | ||
FeedsExecutableInterface:: |
constant | Parameter passed when finishing. | ||
FeedsExecutableInterface:: |
constant | Parameter passed when parsing. | ||
FeedsExecutableInterface:: |
constant | Parameter passed when processing. | ||
FeedsExecutableInterface:: |
public | function | Processes a stage of an import. | 1 |