You are here

public function Form::offsetUnset in Zircon Profile 8

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

Removes a field from the form.

Parameters

string $name The field name:

File

vendor/symfony/dom-crawler/Form.php, line 331

Class

Form
Form represents an HTML form.

Namespace

Symfony\Component\DomCrawler

Code

public function offsetUnset($name) {
  $this->fields
    ->remove($name);
}