Projet

Général

Profil

Paste
Télécharger (656 octets) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / modules / ldap / ldap_authentication / ldap_authentication.rules.inc @ dd54aff9

1
<?php
2
/**
3
 * @file
4
 * Rule implementations for the LDAP Authentication module.
5
 */
6

    
7
/**
8
 * Implements hook_rules_event_info().
9
 */
10
function ldap_authentication_rules_event_info() {
11
  return array(
12
    'ldap_user_created' => array(
13
      'label' => t('User created from LDAP entry'),
14
      'module' => 'ldap_authentication',
15
      'arguments' => array(
16
        'user' => array(
17
          'type' => 'user',
18
          'label' => t('The user created.'),
19
        ),
20
        'email_template_used' => array(
21
          'type' => 'boolean',
22
          'label' => t('Whether or not the email template was used to create the user.'),
23
        ),
24
      ),
25
    ),
26
  );
27
}