Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Form.php

function Form::set

Sets a named field.

2 calls to Form::set()
Form::addField in vendor/symfony/dom-crawler/Form.php
Form::initialize in vendor/symfony/dom-crawler/Form.php
Adds form elements related to this form.

File

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

Class

Form
Form represents an HTML form.

Namespace

Symfony\Component\DomCrawler

Code

public function set(FormField $field) : void {
    $this->fields
        ->add($field);
}
RSS feed
Powered by Drupal