You are here

public static function SettingsInterface::factory in Social API 8

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

Factory method to create a new settings object.

Parameters

ImmutableConfig $config: The configuration object.

1 method overrides SettingsInterface::factory()
SettingsBase::factory in src/Settings/SettingsBase.php
Factory method to create a new settings object.

File

src/Settings/SettingsInterface.php, line 28

Class

SettingsInterface
Class SettingsInterface.

Namespace

Drupal\social_api\Settings

Code

public static function factory(ImmutableConfig $config);