You are here

public function OverwriteContentHubAdminSettings::getSettings in Acquia Content Hub 8.2

Returns the Settings object.

Return value

\Acquia\ContentHubClient\Settings The Content Hub settings.

1 call to OverwriteContentHubAdminSettings::getSettings()
OverwriteContentHubAdminSettings::onGetSettings in modules/acquia_contenthub_s3/tests/modules/acquia_contenthub_s3_test/src/EventSubscriber/GetSettings/OverwriteContentHubAdminSettings.php
Implicitly overwrites acquia_contenthub.admin_settings.

File

modules/acquia_contenthub_s3/tests/modules/acquia_contenthub_s3_test/src/EventSubscriber/GetSettings/OverwriteContentHubAdminSettings.php, line 52

Class

OverwriteContentHubAdminSettings
Overrides acquia_contenthub.admin_settings.

Namespace

Drupal\acquia_contenthub_s3_test\EventSubscriber\GetSettings

Code

public function getSettings() {
  return static::$chSettings ?? new Settings(...array_fill(0, 5, NULL));
}