public function GetFile::__construct in Acquia Content Hub 8.2
GetFile constructor.
Parameters
\Drupal\acquia_contenthub\ContentHubCommonActions $common: The common actions object.
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager service.
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ HandleWebhook/ GetFile.php, line 43
Class
- GetFile
- Gets files during preview in content as a service.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhookCode
public function __construct(ContentHubCommonActions $common, StreamWrapperManagerInterface $stream_wrapper_manager) {
$this->common = $common;
$this->streamWrapperManager = $stream_wrapper_manager;
}