You are here

public function UploadFetcherFeedForm::__construct in Feeds 8.3

Constructs an HttpFeedForm object.

Parameters

\Drupal\file\FileStorageInterface $file_storage: The file storage backend.

\Drupal\file\FileUsage\FileUsageInterface $file_usage: The file usage backend.

\Drupal\Component\Uuid\UuidInterface $uuid: The UUID generator.

File

src/Feeds/Fetcher/Form/UploadFetcherFeedForm.php, line 50

Class

UploadFetcherFeedForm
Provides a form on the feed edit page for the UploadFetcher.

Namespace

Drupal\feeds\Feeds\Fetcher\Form

Code

public function __construct(FileStorageInterface $file_storage, FileUsageInterface $file_usage, UuidInterface $uuid) {
  $this->fileStorage = $file_storage;
  $this->fileUsage = $file_usage;
  $this->uuid = $uuid;
}