You are here

function hook_ldap_servers_user_cron_needed in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.2 ldap_servers/ldap_servers.api.php \hook_ldap_servers_user_cron_needed()
  2. 8.3 ldap_servers/ldap_servers.api.php \hook_ldap_servers_user_cron_needed()
  3. 7.2 ldap_servers/ldap_servers.api.php \hook_ldap_servers_user_cron_needed()

Helper hook to see if a batch of LDAP users needs to be queried.

If a module implements hook_ldap_servers_user_cron, but currently does not need to process user cron batches, it should return FALSE.

File

ldap_servers/ldap_servers.api.php, line 38

Code

function hook_ldap_servers_user_cron_needed() : bool {
  return TRUE;
}