public function RegistrantsElementUtility::getWhitelistExisting in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getWhitelistExisting()
 - 3.x 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 126  
Class
Namespace
Drupal\rngCode
public function getWhitelistExisting() {
  return $this->formState
    ->get(array_merge($this->element['#parents'], [
    'whitelist_existing',
  ])) ?: [];
}