You are here

public function FileSchemeIsSupported::__construct in Acquia Content Hub 8.2

ImportedEntity constructor.

Parameters

\Drupal\acquia_contenthub\Plugin\FileSchemeHandler\FileSchemeHandlerManagerInterface $file_scheme_handler: The File Scheme Handler Manager Interface.

File

modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/FileSchemeIsSupported.php, line 29

Class

FileSchemeIsSupported
Prevents enqueueing files whose scheme is not supported.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility

Code

public function __construct(FileSchemeHandlerManagerInterface $file_scheme_handler) {
  $this->fileSchemeHandler = $file_scheme_handler;
}