placeholder = 'home'; $user = $this->getUser(); if ($user === null) { return $optionValue; } $backend = $user->getBackend(); if (!$backend instanceof User_Proxy) { return $optionValue; } $access = $backend->getLDAPAccess($user->getUID()); if (!$access) { return $optionValue; } $attribute = $access->connection->ldapExtStorageHomeAttribute; if (empty($attribute)) { return $optionValue; } $ldapUser = $access->userManager->get($user->getUID()); $extHome = $ldapUser !== null ? $ldapUser->getExtStorageHome() : ''; return $this->processInput($optionValue, $extHome); } }