abstract protected function NetworkBase::initSdk in Social API 8
Same name and namespace in other branches
- 8.2 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 $library_instance The initialized 3rd party library instance.
Throws
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 40
Class
- NetworkBase
- Base class for Social Network plugins.
Namespace
Drupal\social_api\PluginCode
protected abstract function initSdk();