public FormStateValuesTrait::setValueForElement(array $element, $value)
Implements \Drupal\Core\Form\FormStateInterface::setValueForElement()
File
- core/lib/Drupal/Core/Form/FormStateValuesTrait.php, line 79
Class
- FormStateValuesTrait
- Provides methods to manage form state values.
Namespace
Drupal\Core\Form
Code
public function setValueForElement(array $element, $value) { return $this->setValue($element['#parents'], $value); }
Please login to continue.