public static function LdapConfiguration::provisionAvailableToLdap in Lightweight Directory Access Protocol (LDAP) 8.3
Provisioning available to LDAP.
Parameters
string $trigger: Trigger to check.
Return value
bool If provisioning is available.
7 calls to LdapConfiguration::provisionAvailableToLdap()
- DrupalUserProcessor::deleteProvisionedLdapEntry in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Handle account deletion with LDAP entry provisioning.
- DrupalUserProcessor::drupalUserUpdated in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Callback for hook_ENTITY_TYPE_update().
- DrupalUserProcessor::loginLdapEntryProvisioning in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Handle account login with LDAP entry provisioning.
- DrupalUserProcessor::provisionLdapEntryOnUserCreation in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Handle LDAP entry provision on user creation.
- DrupalUserProcessor::provisionLdapEntryOnUserUpdateCreateEvent in ldap_user/
src/ Processor/ DrupalUserProcessor.php - Handle the user update/create event with LDAP entry provisioning.
File
- ldap_user/
src/ Helper/ LdapConfiguration.php, line 66
Class
- LdapConfiguration
- Helper class to collect trivial lists of elements for events and users.
Namespace
Drupal\ldap_user\HelperCode
public static function provisionAvailableToLdap($trigger) {
if (\Drupal::config('ldap_user.settings')
->get('ldapEntryProvisionTriggers')) {
return in_array($trigger, \Drupal::config('ldap_user.settings')
->get('ldapEntryProvisionTriggers'));
}
else {
return FALSE;
}
}