public function OpmlFeedAdd::__construct

Constructs a database object.

Parameters

\Drupal\Core\Database\Connection; $database: The database object.

\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query object.

\Drupal\Core\Entity\EntityManager $entity_manager: The entity manager.

\Guzzle\Http\Client: The Guzzle HTTP client.

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Form/OpmlFeedAdd.php, line 65
Contains \Drupal\aggregator\Form\OpmlFeedAdd.

Class

OpmlFeedAdd
Imports feeds from OPML.

Namespace

Drupal\aggregator\Form

Code

public function __construct(Connection $database, QueryFactory $query_factory, EntityManager $entity_manager, Client $http_client) {
  $this->database = $database;
  $this->queryFactory = $query_factory;
  $this->entityManager = $entity_manager;
  $this->httpClient = $http_client;
}