protected function MicrodataCoreFieldsUITestCase::subtestTextField in Microdata 7
1 call to MicrodataCoreFieldsUITestCase::subtestTextField()
- MicrodataCoreFieldsUITestCase::testMicrodataUI in ./
microdata.test - Tests the microdata UI for core fields.
File
- ./
microdata.test, line 493 - Tests for microdata.module.
Class
Code
protected function subtestTextField($original_mapping) {
$this
->helperTestSingleFormField($original_mapping, $this->textFieldName);
// Only run the item toggle check once.
$formfield_name = "microdata[fields][{$this->textFieldName}][field][is_item]";
$this
->assertFalse($this
->xpath("//input[@name='{$formfield_name}']"), "Item toggle not found.");
}