public function RegistrantsElementUtility::getWhitelistExisting in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getWhitelistExisting()
- 8 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getWhitelistExisting()
Gets identities which should skip the existing validation check.
Return value
array An array of identities to skip existing check.
1 call to RegistrantsElementUtility::getWhitelistExisting()
- RegistrantsElementUtility::addWhitelistExisting in src/
RegistrantsElementUtility.php - Whitelist an existing identity from re-validation.
File
- src/
RegistrantsElementUtility.php, line 137
Class
Namespace
Drupal\rngCode
public function getWhitelistExisting() {
return $this->formState
->get(array_merge($this->element['#parents'], [
'whitelist_existing',
])) ?: [];
}