You are here

protected function FeedsPlugin::__construct in Feeds 7.2

Same name and namespace in other branches
  1. 6 plugins/FeedsPlugin.inc \FeedsPlugin::__construct()
  2. 7 plugins/FeedsPlugin.inc \FeedsPlugin::__construct()

Constructs a FeedsPlugin object.

A copy of FeedsConfigurable::__construct() that doesn't call configDefaults() so that we avoid circular dependencies.

Parameters

string $id: The importer id.

Overrides FeedsConfigurable::__construct

File

plugins/FeedsPlugin.inc, line 38
Definition of FeedsPlugin class.

Class

FeedsPlugin
Implement source interface for all plugins.

Code

protected function __construct($id) {
  $this->id = $id;
  $this->export_type = FEEDS_EXPORT_NONE;
  $this->disabled = FALSE;
}