You are here

public function Form::remove in Zircon Profile 8

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

Removes a field from the form.

Parameters

string $name The field name:

Throws

\InvalidArgumentException when the name is malformed

File

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

Class

Form
Form represents an HTML form.

Namespace

Symfony\Component\DomCrawler

Code

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