You are here

function drop_down_login_theme in Drop Down Login 7

Same name and namespace in other branches
  1. 8 drop_down_login.module \drop_down_login_theme()

Implements hook_theme().

File

./drop_down_login.module, line 240
Module file for Drop Down Login.

Code

function drop_down_login_theme($existing, $type, $theme, $path) {
  return array(
    'drop_down_login' => array(
      'template' => 'drop_down_login',
      'path' => $path . '/theme',
      'variable' => array(
        'login_form' => NULL,
        'login_url' => NULL,
        'login_link_text' => NULL,
      ),
    ),
    'drop_down_logout' => array(
      'template' => 'drop_down_logout',
      'path' => $path . '/theme',
      'variable' => array(
        'logout_url' => NULL,
        'logout_link_text' => NULL,
      ),
    ),
    'drop_down_myaccount' => array(
      'template' => 'drop_down_myaccount',
      'path' => $path . '/theme',
      'variable' => array(
        'myaccount_links' => NULL,
        'myaccount_url' => NULL,
        'muaccount_link_text' => NULL,
        'account' => NULL,
        'profile_image' => NULL,
      ),
    ),
    'drop_down_bootstrap_login' => array(
      'template' => 'drop_down_bootstrap_login',
      'path' => $path . '/theme',
      'variable' => array(
        'login_form' => NULL,
        'login_url' => NULL,
        'login_link_text' => NULL,
      ),
    ),
    'drop_down_bootstrap_logout' => array(
      'template' => 'drop_down_bootstrap_logout',
      'path' => $path . '/theme',
      'variable' => array(
        'logout_url' => NULL,
        'logout_link_text' => NULL,
      ),
    ),
    'drop_down_bootstrap_myaccount' => array(
      'template' => 'drop_down_bootstrap_myaccount',
      'path' => $path . '/theme',
      'variable' => array(
        'myaccount_links' => NULL,
        'myaccount_url' => NULL,
        'muaccount_link_text' => NULL,
        'account' => NULL,
        'profile_image' => NULL,
      ),
    ),
    'drop_down_login_dragandrop' => array(
      'render element' => 'element',
    ),
  );
}