You are here

public static function SettingsBase::factory in Social API 8

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

Factory method to create a new settings object.

Parameters

ImmutableConfig $config: The configuration object.

Overrides SettingsInterface::factory

File

src/Settings/SettingsBase.php, line 34

Class

SettingsBase
Class Settings.

Namespace

Drupal\social_api\Settings

Code

public static function factory(ImmutableConfig $config) {
  return new static($config);
}