function feeds_importer in Feeds 8.2
Same name and namespace in other branches
- 6 feeds.module \feeds_importer()
- 7.2 feeds.module \feeds_importer()
- 7 feeds.module \feeds_importer()
Gets an importer instance.
Parameters
$id: The unique id of the importer object.
Return value
A FeedsImporter object or an object of a class defined by the Drupal variable 'feeds_importer_class'. There is only one importer object per $id system-wide.
Related topics
10 calls to feeds_importer()
- FeedsSource::__construct in lib/
Drupal/ feeds/ FeedsSource.php - Constructor.
- feeds_importer_load in ./
feeds.module - Menu loader callback.
- feeds_importer_load_all in ./
feeds.module - Loads all importers.
- feeds_importer_template in ./
feeds.pages.inc - Template generation
- feeds_importer_title in ./
feeds.module - Title callback.
4 string references to 'feeds_importer'
- feeds_export in ./
feeds.module - Exports a FeedsImporter configuration to code.
- feeds_schema in ./
feeds.install - Implements hook_schema().
- feeds_update_7207 in ./
feeds.install - Change config fields from text to big blobs.
- feeds_views_data in views/
feeds.views.inc - Implements hook_views_data().
File
- ./
feeds.module, line 862 - Feeds - basic API functions and hook implementations.
Code
function feeds_importer($id) {
return FeedsConfigurable::instance(variable_get('feeds_importer_class', '\\Drupal\\feeds\\FeedsImporter'), $id);
}