You are here

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

Same name and namespace in other branches
  1. 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::setChangeIt()
  2. 8 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::setChangeIt()

Set form state for change_it.

Parameters

$value:

File

src/RegistrantsElementUtility.php, line 172

Class

RegistrantsElementUtility

Namespace

Drupal\rng

Code

public function setChangeIt($value) {
  $this->formState
    ->set(array_merge($this->element['#parents'], [
    'change_it',
  ]), $value);
}