Interface Yiisoft\Form\Field\Base\EnrichFromValidationRules\EnrichFromValidationRulesInterface
Controls whether a field's configuration should be enriched by additional configuration / parameters provided by {@see ValidationRulesEnricherInterface::process()}.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| enrichFromValidationRules() | Enable/disable enrichment based on validation rules. | Yiisoft\ |
| validationRulesEnricher() | Yiisoft\ |
Method Details
Enable/disable enrichment based on validation rules.
| public abstract self enrichFromValidationRules ( boolean $enrich ) | ||
| $enrich | boolean | |
public function enrichFromValidationRules(bool $enrich): self;
| public abstract self validationRulesEnricher ( ?\ | ||
| $enricher | ?\ |
|
public function validationRulesEnricher(?ValidationRulesEnricherInterface $enricher): self;
User Contributed Notes
Leave a comment
Join the conversation to share a note.