-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathext_localconf.php
24 lines (19 loc) · 995 Bytes
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
if (!defined('TYPO3')) {
die('Access denied.');
}
use TYPO3\CMS\Core\Resource\Driver\DriverRegistry;
call_user_func(static function ($extensionKey) : void {
$GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets'][$extensionKey] =
'EXT:google_cloud_storage_fal/Resources/Public/Css/Backend.css';
},'google_cloud_storage_fal');
/** @var DriverRegistry $driverRegistry */
$driverRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(DriverRegistry::class);
$driverRegistry->registerDriverClass(
\Nextmotion\GoogleCloudStorageDriver\Driver\StorageDriver::class,
'GoogleCloudStorageDriver',
'Google Cloud Storage',
'FILE:EXT:google_cloud_storage_fal/Configuration/FlexForms/GoogleCloudStorage.xml'
);
$extractorRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Resource\Index\ExtractorRegistry::class);
$extractorRegistry->registerExtractionService(\Nextmotion\GoogleCloudStorageDriver\Index\ImageMetaDataExtractor::class);