You are here

public function HttpFileSchemeHandler::addAttributes in Acquia Content Hub 8.2

Add attributes to the CDF to support import of a file by this scheme.

Parameters

\Acquia\ContentHubClient\CDF\CDFObject $object: The CDF Object.

\Drupal\file\FileInterface $file: The file to add to the CDF Object.

Overrides FileSchemeHandlerInterface::addAttributes

File

src/Plugin/FileSchemeHandler/HttpFileSchemeHandler.php, line 22

Class

HttpFileSchemeHandler
The file scheme handler for http schemes.

Namespace

Drupal\acquia_contenthub\Plugin\FileSchemeHandler

Code

public function addAttributes(CDFObject $object, FileInterface $file) {
}