You are here

function imageeditor_api_keys in Image Editor 6

2 calls to imageeditor_api_keys()
imageeditor_settings_form in ./imageeditor.module
Imageeditor module API keys form.
theme_imageeditor_settings_form in ./imageeditor.module

File

./imageeditor.module, line 1022
Allows online editing of images using different image editing services.

Code

function imageeditor_api_keys() {
  static $api_keys;
  if (empty($api_keys)) {
    $api_keys = array(
      'imageeditor_picnik_api_key' => array(
        'display_name' => t('Picnik API key'),
        'link' => 'http://www.picnik.com/keys/login',
        'description' => t('API key for Picnik image editor'),
      ),
      'imageeditor_aviary_api_key' => array(
        'display_name' => t('Aviary Feather API key'),
        'link' => 'http://developers.aviary.com/getfeatherkey',
        'description' => t('API key for Aviary Feather'),
      ),
      'imageeditor_aviary_adv_api_key' => array(
        'display_name' => t('Aviary Advanced API key'),
        'link' => 'http://developers.aviary.com/getadvancedkey',
        'description' => t('API key for advanced Aviary editors: Aviary Phoenix, Raven, Peacock and Falcon'),
      ),
      'imageeditor_sumopaint_api_key' => array(
        'display_name' => t('Sumo Paint API key'),
        'link' => 'http://www.sumopaint.com/getpartner/',
        'description' => t('API key for Sumo Paint image editor'),
      ),
      'imageeditor_imageshack_api_key' => array(
        'display_name' => t('ImageShack API key'),
        'link' => 'http://stream.imageshack.us/xmlapi/',
        'description' => t('API key for ImageShack Upload service'),
      ),
    );
  }
  return $api_keys;
}