You are here

public static function SettingsInterface::factory in Social API 8.2

Same name and namespace in other branches
  1. 8 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

\Drupal\Core\Config\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
Defines required methods for a Settings class.

Namespace

Drupal\social_api\Settings

Code

public static function factory(ImmutableConfig $config);