You are here

private static function ShareaholicUtilities::defaults in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 utilities.php \ShareaholicUtilities::defaults()

Returns the defaults for shareaholic settings

Return value

array

1 call to ShareaholicUtilities::defaults()
ShareaholicUtilities::get_settings in ./utilities.php
Just a wrapper around variable_get to get the shareaholic settings. If the settings have not been set it will return an array of defaults.

File

./utilities.php, line 40

Class

ShareaholicUtilities

Code

private static function defaults() {
  return array(
    'disable_internal_share_counts_api' => 'on',
    'api_key' => '',
    'verification_key' => '',
  );
}