interface SettingsInterface in Social API 8.2
Same name and namespace in other branches
- 8 src/Settings/SettingsInterface.php \Drupal\social_api\Settings\SettingsInterface
- 3.x src/Settings/SettingsInterface.php \Drupal\social_api\Settings\SettingsInterface
Defines required methods for a Settings class.
@package Drupal\social_api\Settings
Hierarchy
- interface \Drupal\social_api\Settings\SettingsInterface
Expanded class hierarchy of SettingsInterface
All classes that implement SettingsInterface
1 file declares its use of SettingsInterface
- NetworkBase.php in src/
Plugin/ NetworkBase.php
File
- src/
Settings/ SettingsInterface.php, line 12
Namespace
Drupal\social_api\SettingsView source
interface SettingsInterface {
/**
* Gets the configuration object.
*
* @return \Drupal\Core\Config\ImmutableConfig
* The configuration object associated with the settings.
*/
public function getConfig();
/**
* Factory method to create a new settings object.
*
* @param \Drupal\Core\Config\ImmutableConfig $config
* The configuration object.
*/
public static function factory(ImmutableConfig $config);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SettingsInterface:: |
public static | function | Factory method to create a new settings object. | 1 |
SettingsInterface:: |
public | function | Gets the configuration object. | 1 |