ConfigTarget::$toConfig

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Form/ConfigTarget.php \Drupal\Core\Form\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\Form

Code

public readonly mixed $toConfig;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.