protected function S3StorageHandlerModuleDependencyCollector::getS3ModuleDependencies in Acquia Content Hub 8.2
Returns all the s3 module dependencies.
Return value
array Array of required S3 modules.
1 call to S3StorageHandlerModuleDependencyCollector::getS3ModuleDependencies()
- S3StorageHandlerModuleDependencyCollector::onCalculateDependencies in modules/
acquia_contenthub_s3/ src/ EventSubscriber/ DependencyCollector/ S3StorageHandlerModuleDependencyCollector.php - Adds the accepted s3 modules to the module dependency list if applicable.
File
- modules/
acquia_contenthub_s3/ src/ EventSubscriber/ DependencyCollector/ S3StorageHandlerModuleDependencyCollector.php, line 82
Class
- S3StorageHandlerModuleDependencyCollector
- Subscribes to dependency collection to append module dependency information.
Namespace
Drupal\acquia_contenthub_s3\EventSubscriber\DependencyCollectorCode
protected function getS3ModuleDependencies() : array {
$modules = [];
foreach ($this->requiredS3Modules as $module) {
if (!$this->moduleHandler
->moduleExists($module)) {
continue;
}
$modules[] = $module;
}
return $modules;
}