ConfigTarget::$toConfig
Transforms a value submitted by the form before it is set in the config.
Type: callable|null
See also
::setValue()
File
-
core/
lib/ Drupal/ Core/ Form/ ConfigTarget.php, line 52
Class
- ConfigTarget
- Represents the mapping of a config property to a form element.
Namespace
Drupal\Core\FormCode
public readonly mixed $toConfig;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.