You are here

function hook_addthis_configuration in AddThis 7.4

Implements hook_TYPE_alter().

Parameters

array $configuration.:

File

./addthis.api.php, line 64
This is currently a stub file that will be used to describe the addthis implementation API.

Code

function hook_addthis_configuration($configuration) {
  if (isset($configuration['templates'])) {
    $configuration['templates']['twitter'] = 'Hello on twitter.';
  }
  if (isset($configuration['addthis_share'])) {

    // Alter the share variable used for the javascript.
  }
}