You are here

public function SettingsBase::__construct in Social API 3.x

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

Creates a new settings object.

Parameters

\Drupal\Core\Config\ImmutableConfig $config: The configuration object associated to the settings.

File

src/Settings/SettingsBase.php, line 27

Class

SettingsBase
Base class for implementor module settings.

Namespace

Drupal\social_api\Settings

Code

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