You are here

interface PackageDownloaderInterface in Ludwig 8

An interface for PackageDownloader.

Hierarchy

Expanded class hierarchy of PackageDownloaderInterface

All classes that implement PackageDownloaderInterface

1 file declares its use of PackageDownloaderInterface
PackageController.php in src/Controller/PackageController.php

File

src/PackageDownloaderInterface.php, line 8

Namespace

Drupal\ludwig
View source
interface PackageDownloaderInterface {

  /**
   * Downloads and places packages into their modules.
   *
   * @param array $package
   *   The package.
   *
   * @throws \Exception
   * @throws \Drupal\Core\FileTransfer\FileTransferException
   */
  public function download(array $package);

}

Members

Namesort descending Modifiers Type Description Overrides
PackageDownloaderInterface::download public function Downloads and places packages into their modules. 1