function hybridauth_theme in HybridAuth Social Login 7
Same name and namespace in other branches
- 6.2 hybridauth.module \hybridauth_theme()
- 7.2 hybridauth.module \hybridauth_theme()
Implements hook_theme().
File
- ./
hybridauth.module, line 576
Code
function hybridauth_theme($existing, $type, $theme, $path) {
return array(
'hybridauth_admin_settings' => array(
'render element' => 'form',
'file' => 'hybridauth.admin.inc',
),
'hybridauth_widget' => array(
'variables' => array(
'style' => HYBRIDAUTH_WIDGET_ATTACH_LOGINFORM_STYLE_DEFAULT,
'size' => HYBRIDAUTH_WIDGET_ATTACH_LOGINFORM_ICON_SIZE_DEFAULT,
),
'template' => 'hybridauth-widget',
'file' => 'hybridauth.widget.inc',
),
'hybridauth_popup_loading' => array(
'variables' => array(
'provider_id' => NULL,
'done' => FALSE,
'overlay' => FALSE,
),
'template' => 'hybridauth-popup-loading',
'file' => 'hybridauth.widget.inc',
),
'hybridauth_popup_list' => array(
'variables' => array(
'overlay' => FALSE,
),
'template' => 'hybridauth-popup-list',
'file' => 'hybridauth.widget.inc',
),
'hybridauth_popup_provider' => array(
'variables' => array(
'provider_id' => NULL,
'overlay' => FALSE,
),
'template' => 'hybridauth-popup-provider',
'file' => 'hybridauth.widget.inc',
),
'hybridauth_provider_icon' => array(
'variables' => array(
'size' => HYBRIDAUTH_WIDGET_ATTACH_LOGINFORM_ICON_SIZE_DEFAULT,
'provider_id' => NULL,
),
),
);
}