abstract protected function NetworkBase::initSdk in Social API 8.2
Same name and namespace in other branches
- 8 src/Plugin/NetworkBase.php \Drupal\social_api\Plugin\NetworkBase::initSdk()
- 3.x src/Plugin/NetworkBase.php \Drupal\social_api\Plugin\NetworkBase::initSdk()
Sets the underlying SDK library.
Return value
mixed The initialized 3rd party library instance.
Throws
\Drupal\social_api\SocialApiException If the SDK library does not exist.
1 call to NetworkBase::initSdk()
- NetworkBase::getSdk in src/
Plugin/ NetworkBase.php - Gets the underlying SDK library.
File
- src/
Plugin/ NetworkBase.php, line 63
Class
- NetworkBase
- Base class for Social Network plugins.
Namespace
Drupal\social_api\PluginCode
protected abstract function initSdk();