You are here

function cas_ldap_token_info_alter in CAS Attributes 7

Implements hook_token_info_alter().

File

./cas_ldap.tokens.inc, line 11
Token module integration.

Code

function cas_ldap_token_info_alter(&$data) {
  $data['tokens']['cas']['ldap'] = array(
    'name' => t('LDAP'),
    'description' => t('An LDAP attribute of the CAS user. <a href="@url">Available tokens</a>.', array(
      '@url' => url('admin/config/people/cas/attributes/ldap'),
    )),
    'dynamic' => TRUE,
  );
}