Projet

Général

Profil

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

root / drupal7 / sites / all / modules / ldap / ldap_authentication / ldap_authentication.rules.inc @ 91af538d

1 dd54aff9 Assos Assos
<?php
2 32700c57 Assos Assos
3 dd54aff9 Assos Assos
/**
4
 * @file
5
 * Rule implementations for the LDAP Authentication module.
6
 */
7
8
/**
9
 * Implements hook_rules_event_info().
10
 */
11
function ldap_authentication_rules_event_info() {
12 32700c57 Assos Assos
  return [
13
    'ldap_user_created' => [
14 dd54aff9 Assos Assos
      'label' => t('User created from LDAP entry'),
15
      'module' => 'ldap_authentication',
16 7547bb19 Assos Assos
      'group' => t('User'),
17 32700c57 Assos Assos
      'variables' => [
18
        'user' => [
19 dd54aff9 Assos Assos
          'type' => 'user',
20
          'label' => t('The user created.'),
21 32700c57 Assos Assos
        ],
22
        'email_template_used' => [
23 dd54aff9 Assos Assos
          'type' => 'boolean',
24
          'label' => t('Whether or not the email template was used to create the user.'),
25 32700c57 Assos Assos
        ],
26
      ],
27
    ],
28
  ];
29 dd54aff9 Assos Assos
}