public function FeedsImporter::load in Feeds 8.2
Load configuration and unpack.
1 call to FeedsImporter::load()
- FeedsImporter::__construct in lib/
Drupal/ feeds/ FeedsImporter.php - Instantiate class variables, initialize and configure plugins.
File
- lib/
Drupal/ feeds/ FeedsImporter.php, line 95 - FeedsImporter class and related.
Class
- FeedsImporter
- A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.
Namespace
Drupal\feedsCode
public function load() {
if (config('feeds.importer.' . $this->id)
->get('id')) {
$config = config('feeds.importer.' . $this->id)
->get('config');
$this->disabled = isset($config['disabled']) ? $config['disabled'] : FALSE;
$this->config = $config;
return TRUE;
}
return FALSE;
}