You are here

function sharerich_get_services in Sharerich 7

Same name and namespace in other branches
  1. 7.3 sharerich.module \sharerich_get_services()
  2. 7.2 sharerich.module \sharerich_get_services()

Helper to return the services.

3 calls to sharerich_get_services()
sharerich_admin_form in ./sharerich.admin.inc
Implements hook_form().
sharerich_get_buttons in ./sharerich.module
Returns markup with list of share buttons.
sharerich_uninstall in ./sharerich.install
Implements hook_uninstall().

File

./sharerich.module, line 178

Code

function sharerich_get_services() {
  $defaults = array(
    'email',
    'facebook',
    'linkedin',
    'twitter',
    'googleplus',
    'pinterest',
  );
  return variable_get('sharerich_services', $defaults);
}