public static function SettingsBase::factory in Social API 8
Same name and namespace in other branches
- 8.2 src/Settings/SettingsBase.php \Drupal\social_api\Settings\SettingsBase::factory()
- 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\SettingsCode
public static function factory(ImmutableConfig $config) {
return new static($config);
}