ConfigTarget::$fromConfig

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Form/ConfigTarget.php \Drupal\Core\Form\ConfigTarget::fromConfig

Transforms a value loaded from config before it gets displayed by the form.

Type: callable|null

See also

::getValue()

File

core/lib/Drupal/Core/Form/ConfigTarget.php, line 43

Class

ConfigTarget
Represents the mapping of a config property to a form element.

Namespace

Drupal\Core\Form

Code

public readonly mixed $fromConfig;

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