You are here

public function FormStateValuesTrait::unsetValue in Markdown 8.2

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

File

src/BcSupport/FormStateValuesTrait.php, line 54

Class

FormStateValuesTrait
Provides methods to manage form state values.

Namespace

Drupal\markdown\BcSupport

Code

public function unsetValue($key) {
  NestedArray::unsetValue($this
    ->getValues(), (array) $key);
  return $this;
}