public static function BynderMediaApi::hasSettings in Bynder 7
1 call to BynderMediaApi::hasSettings()
- sync_old_bynder_media in includes/
bynder.utils.inc
File
- includes/
BynderMediaApi.inc, line 160 - Manages the Bynder media browser functionality
Class
Code
public static function hasSettings() {
$settings = array(
'consumerKey' => variable_get('bynder_oauth_consumer', false),
'consumerSecret' => variable_get('bynder_oauth_consumer_secret', false),
'baseUrl' => variable_get('bynder_url', false),
);
foreach ($settings as $setting) {
if (!$setting) {
return false;
}
}
return true;
}