You are here

public function RegistrantsElementUtility::getChangeIt in RNG - Events and Registrations 3.x

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

RegistrantsElementUtility

Namespace

Drupal\rng

Code

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