function ElementTest::testFormElements

Test form elements.

File

core/modules/system/tests/src/Functional/Form/ElementTest.php, line 29

Class

ElementTest
Tests building and processing of core form elements.

Namespace

Drupal\Tests\system\Functional\Form

Code

public function testFormElements() : void {
  $this->testPlaceHolderText();
  $this->testOptions();
  $this->testRadiosChecked();
  $this->testWrapperIds();
  $this->testButtonClasses();
  $this->testGroupElements();
  $this->testRequiredFieldsetsAndDetails();
  $this->testFormAutocomplete();
  $this->testFormElementErrors();
  $this->testDetailsSummaryAttributes();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.