public static function SourceInterface::sources in Feeds 8.3
Adds sources to the $source array for this field.
Parameters
array $sources: The list of sources to modify.
\Drupal\feeds\FeedTypeInterface $feed_type: The feed type being added to.
array $definition: The plugin definition.
2 methods override SourceInterface::sources()
- BasicFieldSource::sources in src/
Feeds/ Source/ BasicFieldSource.php - Adds sources to the $source array for this field.
- SiteSource::sources in tests/
modules/ feeds_test_extra_sources/ src/ Feeds/ Source/ SiteSource.php - Adds sources to the $source array for this field.
File
- src/
Plugin/ Type/ Source/ SourceInterface.php, line 25
Class
- SourceInterface
- Interface for Feed sources.
Namespace
Drupal\feeds\Plugin\Type\SourceCode
public static function sources(array &$sources, FeedTypeInterface $feed_type, array $definition);