public function FileEntityHandler::__construct in Acquia Content Hub 8.2
FileEntityHandler constructor.
Parameters
\Drupal\acquia_contenthub\Plugin\FileSchemeHandler\FileSchemeHandlerManagerInterface $manager: File scheme handler manager.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory.
File
- src/
EventSubscriber/ Cdf/ FileEntityHandler.php, line 40
Class
- FileEntityHandler
- Manipulates file content entity CDF representation to better support files.
Namespace
Drupal\acquia_contenthub\EventSubscriber\CdfCode
public function __construct(FileSchemeHandlerManagerInterface $manager, LoggerChannelFactoryInterface $logger_factory) {
$this->manager = $manager;
$this->channel = $logger_factory
->get('acquia_contenthub');
}