You are here

public function PreviewSettings::__construct in Acquia Content Hub 8.2

GetSettingsFromCoreConfig constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The configuration factory.

File

modules/acquia_contenthub_preview/src/EventSubscriber/PreviewSettings.php, line 29

Class

PreviewSettings
Gets the ContentHub Server settings from configuration.

Namespace

Drupal\acquia_contenthub_preview\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $configFactory) {
  $this->configFactory = $configFactory;
}