You are here

public function HttpsFileSchemeHandler::getFile in Acquia Content Hub 8.2

Makes file available to Drupal through the correct stream wrapper.

This does not return the file, but will save it with the appropriate stream wrapper for Drupal to utilize.

Parameters

\Acquia\ContentHubClient\CDF\CDFObject $object: The CDFObject from which to extract details about getting the file.

Return value

bool Whether the file successfully saved or not.

Overrides FileSchemeHandlerInterface::getFile

File

src/Plugin/FileSchemeHandler/HttpsFileSchemeHandler.php, line 27

Class

HttpsFileSchemeHandler
File scheme handler for https schemes.

Namespace

Drupal\acquia_contenthub\Plugin\FileSchemeHandler

Code

public function getFile(CDFObject $object) {
}