You are here

public function BynderApi::setBynderConfiguration in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/BynderApi.php \Drupal\bynder\BynderApi::setBynderConfiguration()
  2. 8 src/BynderApi.php \Drupal\bynder\BynderApi::setBynderConfiguration()
  3. 8.2 src/BynderApi.php \Drupal\bynder\BynderApi::setBynderConfiguration()

Sets the Bynder configuration.

Parameters

array $config: Array with keys consumer_key, consumer_secret, token, token_secret and account_domain.

Return value

bool

Overrides BynderApiInterface::setBynderConfiguration

File

src/BynderApi.php, line 307

Class

BynderApi
Bynder API service.

Namespace

Drupal\bynder

Code

public function setBynderConfiguration(array $config) {
  $this->bynderConfig = $config;
}