function _cas_ldap_token_list in CAS Attributes 6.3
Implements hook_token_list().
1 call to _cas_ldap_token_list()
- cas_ldap_token_list in ./
cas_ldap.module - Implements hook_token_list().
File
- ./
cas_ldap.tokens.inc, line 11 - Token module integration.
Code
function _cas_ldap_token_list($type = 'all') {
$tokens = array();
if ($type == 'cas' || $type == 'all') {
$tokens['cas']['cas-ldap-?'] = t('An LDAP attribute of the user. Replace ? with the attribute name in lower case. <a href="@url">Available tokens</a>.', array(
'@url' => url('admin/user/cas/attributes/ldap'),
));
// $tokens['cas']['cas-ldap-?-raw'] = t('A CAS attribute of the user. Replace ? with the attribute name in lower case. <a href="@url">Available tokens</a>.', array('@url' => url('admin/user/cas/attributes/ldap')));
}
return $tokens;
}