public function EmptySchemeHandler::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/ EmptySchemeHandler.php, line 22
Class
- EmptySchemeHandler
- The file scheme handler for files without schemes.
Namespace
Drupal\acquia_contenthub\Plugin\FileSchemeHandlerCode
public function addAttributes(CDFObject $object, FileInterface $file) {
}