public static function OverwriteContentHubAdminSettings::overwrite in Acquia Content Hub 8.2
Overwrite Content Hub Settings completely.
Parameters
\Acquia\ContentHubClient\Settings $settings: The Settings to overwrite with.
1 call to OverwriteContentHubAdminSettings::overwrite()
- S3FileOriginLocatorTest::testNoRecordLocally in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileOriginLocatorTest.php - @covers ::getS3FileSource
File
- modules/
acquia_contenthub_s3/ tests/ modules/ acquia_contenthub_s3_test/ src/ EventSubscriber/ GetSettings/ OverwriteContentHubAdminSettings.php, line 62
Class
- OverwriteContentHubAdminSettings
- Overrides acquia_contenthub.admin_settings.
Namespace
Drupal\acquia_contenthub_s3_test\EventSubscriber\GetSettingsCode
public static function overwrite(Settings $settings) {
static::$chSettings = $settings;
}