FormStateValuesTrait::unsetValue

public FormStateValuesTrait::unsetValue($key)

Implements \Drupal\Core\Form\FormStateInterface::unsetValue()

File

core/lib/Drupal/Core/Form/FormStateValuesTrait.php, line 53

Class

FormStateValuesTrait
Provides methods to manage form state values.

Namespace

Drupal\Core\Form

Code

public function unsetValue($key) {
  NestedArray::unsetValue($this->getValues(), (array) $key);
  return $this;
}
doc_Drupal
2016-10-29 09:16:48
Comments
Leave a Comment

Please login to continue.