interface NetworkInterface in Social API 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/NetworkInterface.php \Drupal\social_api\Plugin\NetworkInterface
- 8 src/Plugin/NetworkInterface.php \Drupal\social_api\Plugin\NetworkInterface
Defines an interface for Social Network plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- interface \Drupal\social_api\Plugin\NetworkInterface
Expanded class hierarchy of NetworkInterface
All classes that implement NetworkInterface
File
- src/
Plugin/ NetworkInterface.php, line 11
Namespace
Drupal\social_api\PluginView source
interface NetworkInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {
/**
* Gets the underlying SDK library.
*
* @return mixed
* The SDK client.
*/
public function getSdk();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 120 |
NetworkInterface:: |
public | function | Gets the underlying SDK library. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |