private function LdapUserAdminForm::reduceTriggerList in Lightweight Directory Access Protocol (LDAP) 8.4
Reduce the trigger list.
Parameters
array $values: Triggers.
Return value
array Reduced triggers.
File
- ldap_user/
src/ Form/ LdapUserAdminForm.php, line 411
Class
- LdapUserAdminForm
- Provides the form to configure user configuration and field mapping.
Namespace
Drupal\ldap_user\FormCode
private function reduceTriggerList(array $values) : array {
$result = [];
foreach ($values as $value) {
if ($value !== 0) {
$result[] = $value;
}
}
return $result;
}