You are here

public function SettingsBase::__construct in Social API 8

Same name and namespace in other branches
  1. 8.2 src/Settings/SettingsBase.php \Drupal\social_api\Settings\SettingsBase::__construct()
  2. 3.x src/Settings/SettingsBase.php \Drupal\social_api\Settings\SettingsBase::__construct()

Creates a new settings object.

Parameters

ImmutableConfig $config: The configuration object associated to the settings.

File

src/Settings/SettingsBase.php, line 27

Class

SettingsBase
Class Settings.

Namespace

Drupal\social_api\Settings

Code

public function __construct(ImmutableConfig $config) {
  $this->config = $config;
}