FormStateValuesTrait::setValues

public FormStateValuesTrait::setValues(array $values)

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

File

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

Class

FormStateValuesTrait
Provides methods to manage form state values.

Namespace

Drupal\Core\Form

Code

public function setValues(array $values) {
  $existing_values = &$this->getValues();
  $existing_values = $values;
  return $this;
}
doc_Drupal
2016-10-29 09:16:47
Comments
Leave a Comment

Please login to continue.