You are here

social_auth.module in Social Auth 8

Same filename and directory in other branches
  1. 8.2 social_auth.module
  2. 3.x social_auth.module

Allows login using different social networking services.

File

social_auth.module
View source
<?php

/**
 * @file
 * Allows login using different social networking services.
 */

/**
 * Implements hook_theme().
 */
function social_auth_theme() {
  return array(
    'login_with' => array(
      'variables' => array(
        'social_networks' => NULL,
      ),
    ),
  );
}

/**
 * Implements hook_preprocess_HOOK().
 */
function social_auth_preprocess_login_with(&$variables) {
  $variables['base_path'] = base_path();
}

Functions