public function RegistrantsElementUtility::getChangeIt in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getChangeIt()
- 8 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getChangeIt()
Get form state for change_it.
Return value
bool The current value for change_it.
File
- src/
RegistrantsElementUtility.php, line 163
Class
Namespace
Drupal\rngCode
public function getChangeIt() {
return $this->formState
->get(array_merge($this->element['#parents'], [
'change_it',
])) ?: FALSE;
}