Defines a test fetcher implementation.
Uses http_default_client class to download the feed.
@AggregatorFetcher(
id = "aggregator_test_fetcher",
title = @Translation("Test fetcher"),
description = @Translation("Dummy fetcher for testing purposes.")
)
Expanded class hierarchy of TestFetcher
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestFetcher:: |
public | function |
Implements \Drupal\aggregator\Plugin\FetcherInterface::fetch(). Overrides DefaultFetcher:: |