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

Breadcrumb

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

function FormField::hasValue

Returns true if the field should be included in the submitted values.

1 method overrides FormField::hasValue()
ChoiceFormField::hasValue in vendor/symfony/dom-crawler/Field/ChoiceFormField.php
Returns true if the field should be included in the submitted values.

File

vendor/symfony/dom-crawler/Field/FormField.php, line 85

Class

FormField
FormField is the abstract class for all form fields.

Namespace

Symfony\Component\DomCrawler\Field

Code

public function hasValue() : bool {
    return true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal