public function FileSchemeHandlerInterface::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.
6 methods override FileSchemeHandlerInterface::addAttributes()
- EmptySchemeHandler::addAttributes in src/
Plugin/ FileSchemeHandler/ EmptySchemeHandler.php - Add attributes to the CDF to support import of a file by this scheme.
- HttpFileSchemeHandler::addAttributes in src/
Plugin/ FileSchemeHandler/ HttpFileSchemeHandler.php - Add attributes to the CDF to support import of a file by this scheme.
- HttpsFileSchemeHandler::addAttributes in src/
Plugin/ FileSchemeHandler/ HttpsFileSchemeHandler.php - Add attributes to the CDF to support import of a file by this scheme.
- PrivateFileSchemeHandler::addAttributes in src/
Plugin/ FileSchemeHandler/ PrivateFileSchemeHandler.php - PublicFileSchemeHandler::addAttributes in src/
Plugin/ FileSchemeHandler/ PublicFileSchemeHandler.php
File
- src/
Plugin/ FileSchemeHandler/ FileSchemeHandlerInterface.php, line 24
Class
- FileSchemeHandlerInterface
- The interface for file scheme handlers.
Namespace
Drupal\acquia_contenthub\Plugin\FileSchemeHandlerCode
public function addAttributes(CDFObject $object, FileInterface $file);