FetcherManager.php

Definition of Drupal\aggregator\Plugin\FetcherManager.

Namespace

Drupal\aggregator\Plugin

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/FetcherManager.php
View source
<?php

/**
 * @file
 * Definition of Drupal\aggregator\Plugin\FetcherManager.
 */
namespace Drupal\aggregator\Plugin;

use Drupal\Component\Plugin\PluginManagerBase;
use Drupal\Component\Plugin\Factory\DefaultFactory;
use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery;

/**
 * Manages aggregator fetcher plugins.
 */
class FetcherManager extends PluginManagerBase {
  public function __construct() {
    $this->discovery = new AnnotatedClassDiscovery('aggregator', 'fetcher');
    $this->factory = new DefaultFactory($this->discovery);
  }

}

Classes

Namesort descending Description
FetcherManager Manages aggregator fetcher plugins.