class FieldPresenceEnhancer

This enhancer can set a field to a fixed value if an other field is present.

@author David Buchmann

Hierarchy

Expanded class hierarchy of FieldPresenceEnhancer

1 file declares its use of FieldPresenceEnhancer

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Enhancer/FieldPresenceEnhancer.php, line 12

Namespace

Symfony\Cmf\Component\Routing\Enhancer
View source

Members

Namesort descending Modifiers Type Description Overrides
FieldPresenceEnhancer::$source protected property
FieldPresenceEnhancer::$target protected property
FieldPresenceEnhancer::$value private property value to set the target field to
FieldPresenceEnhancer::enhance public function Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance
FieldPresenceEnhancer::__construct public function