You are here

function gravatar_variables in Gravatar integration 7

Same name and namespace in other branches
  1. 5 gravatar.module \gravatar_variables()
  2. 6 gravatar.module \gravatar_variables()

Internal default variables for gravatar_var().

2 calls to gravatar_variables()
gravatar_uninstall in ./gravatar.install
Implementation of hook_uninstall().
gravatar_var in ./gravatar.module
Internal implementation of variable_get().

File

./gravatar.module, line 420
Integrates gravatar service for user pictures.

Code

function gravatar_variables() {
  return array(
    'gravatar_default' => GRAVATAR_DEFAULT_MODULE,
    'gravatar_size' => 100,
    'gravatar_rating' => 'G',
    'gravatar_url' => GRAVATAR_URL,
    'gravatar_url_ssl' => GRAVATAR_URL_SSL,
    'gravatar_cache' => 0,
    // Deleted variables set to NULL so they can be removed during uninstall.
    'gravatar_default_type' => NULL,
    'gravatar_imagerating' => NULL,
    'gravatar_displaysize' => NULL,
    'gravatar_imagedefault' => NULL,
    'gravatar_toggle' => NULL,
    'gravatar_disabled_by_users' => NULL,
    'gravatar_prepend' => NULL,
  );
}