class FetcherManager

Manages aggregator fetcher plugins.

Hierarchy

Expanded class hierarchy of FetcherManager

2 files declare their use of FetcherManager
aggregator.admin.inc in drupal/core/modules/aggregator/aggregator.admin.inc
Admin page callbacks for the aggregator module.
aggregator.module in drupal/core/modules/aggregator/aggregator.module
Used to aggregate syndicated content (RSS, RDF, and Atom).

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/FetcherManager.php, line 17
Definition of Drupal\aggregator\Plugin\FetcherManager.

Namespace

Drupal\aggregator\Plugin
View source
class FetcherManager extends PluginManagerBase {
  public function __construct() {
    $this->discovery = new AnnotatedClassDiscovery('aggregator', 'fetcher');
    $this->factory = new DefaultFactory($this->discovery);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FetcherManager::__construct public function
PluginManagerBase::$defaults protected property A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. 4
PluginManagerBase::$discovery protected property The object that discovers plugins managed by this manager.
PluginManagerBase::$factory protected property The object that instantiates plugins managed by this manager.
PluginManagerBase::$mapper protected property The object that returns the preconfigured plugin instance appropriate for a particular runtime condition.
PluginManagerBase::clearCachedDefinitions public function Implements \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface::clearCachedDefinitions(). Overrides CachedDiscoveryInterface::clearCachedDefinitions
PluginManagerBase::createInstance public function Implements Drupal\Component\Plugin\PluginManagerInterface::createInstance(). Overrides FactoryInterface::createInstance 1
PluginManagerBase::getDefinition public function Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinition(). Overrides DiscoveryInterface::getDefinition 1
PluginManagerBase::getDefinitions public function Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinitions(). Overrides DiscoveryInterface::getDefinitions 1
PluginManagerBase::getInstance public function Implements Drupal\Component\Plugin\PluginManagerInterface::getInstance(). Overrides MapperInterface::getInstance 3
PluginManagerBase::processDefinition public function Performs extra processing on plugin definitions. 2