You are here

abstract protected function NetworkBase::initSdk in Social API 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/NetworkBase.php \Drupal\social_api\Plugin\NetworkBase::initSdk()
  2. 8 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\Plugin

Code

protected abstract function initSdk();