function hybridauth_theme in HybridAuth Social Login 7.2
Same name and namespace in other branches
- 6.2 hybridauth.module \hybridauth_theme()
- 7 hybridauth.module \hybridauth_theme()
Implements hook_theme().
File
- ./
hybridauth.module, line 516 - Main file for the HybridAuth module.
Code
function hybridauth_theme($existing, $type, $theme, $path) {
return array(
'hybridauth_widget' => array(
'render element' => 'element',
'template' => 'templates/hybridauth_widget',
'file' => 'hybridauth.theme.inc',
),
'hybridauth_provider_icon' => array(
'variables' => array(
'icon_pack' => 'hybridauth_32',
'provider_id' => NULL,
'provider_name' => NULL,
),
'template' => 'templates/hybridauth_provider_icon',
'file' => 'hybridauth.theme.inc',
),
);
}