You are here

public function FormStateValuesTrait::setValues in Markdown 8.2

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

File

src/BcSupport/FormStateValuesTrait.php, line 37

Class

FormStateValuesTrait
Provides methods to manage form state values.

Namespace

Drupal\markdown\BcSupport

Code

public function setValues(array $values) {
  $existing_values =& $this
    ->getValues();
  $existing_values = $values;
  return $this;
}