Projet

Général

Profil

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

root / drupal7 / sites / all / modules / ldap / ldap_authentication / ldap_authentication.rules.inc @ 7547bb19

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
      'group' => t('User'),
16
      'variables' => array(
17
        'user' => array(
18
          'type' => 'user',
19
          'label' => t('The user created.'),
20
        ),
21
        'email_template_used' => array(
22
          'type' => 'boolean',
23
          'label' => t('Whether or not the email template was used to create the user.'),
24
        ),
25
      ),
26
    ),
27
  );
28
}