You are here

public function RegistrantsElementUtility::getChangeIt in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::getChangeIt()
  2. 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

RegistrantsElementUtility

Namespace

Drupal\rng

Code

public function getChangeIt() {
  return $this->formState
    ->get(array_merge($this->element['#parents'], [
    'change_it',
  ])) ?: FALSE;
}