public static function SemaphoreStorage::set in Lightweight Directory Access Protocol (LDAP) 8.3
Set value.
Parameters
string $action: Action to apply on (e.g. 'sync').
string $identifier: User identifier.
5 calls to SemaphoreStorage::set()
- 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.
- SemaphoreStorageTests::testPasswordStorage in ldap_user/
tests/ src/ Unit/ SemaphoreStorageTests.php - Tests the password storage.
File
- ldap_user/
src/ Helper/ SemaphoreStorage.php, line 23
Class
- SemaphoreStorage
- Management of the semaphore.
Namespace
Drupal\ldap_user\HelperCode
public static function set($action, $identifier) {
self::$accounts[$action][$identifier] = TRUE;
}