You are here

function theme_ldap_authentication_login_message in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_authentication/ldap_authentication.theme.inc \theme_ldap_authentication_login_message()
  2. 7 ldap_authentication/ldap_authentication.theme.inc \theme_ldap_authentication_login_message()

The following three functions are theme callbacks for various messages from NTLM/seamless login integration.

Provides a theme callback for successful login messages. The reason for using theme callbacks instead of a simple t() function is to provide the ability to have more complex message handling performed; an example would be to use the Real Name module to say "Welcome, User Name" upon successful login.

Parameters

string $message: A text string containing a translatable success message.

Return value

mixed

File

ldap_authentication/ldap_authentication.theme.inc, line 119
Theming functions for ldap_authentication module.

Code

function theme_ldap_authentication_login_message($variables) {

  /** @var string $message */
  extract($variables);
  return $message;
}