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