You are here

public function ChoiceFormField::disableValidation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dom-crawler/Field/ChoiceFormField.php \Symfony\Component\DomCrawler\Field\ChoiceFormField::disableValidation()

Disables the internal validation of the field.

Return value

self

File

vendor/symfony/dom-crawler/Field/ChoiceFormField.php, line 313

Class

ChoiceFormField
ChoiceFormField represents a choice form field.

Namespace

Symfony\Component\DomCrawler\Field

Code

public function disableValidation() {
  $this->validationDisabled = true;
  return $this;
}