public function MicrodataReferenceFieldsTestCase::setUp in Microdata 7
Implements DrupalWebTestCase::setUp().
Overrides MicrodataFieldTestCase::setUp
File
- ./
microdata.test, line 547 - Tests for microdata.module.
Class
- MicrodataReferenceFieldsTestCase
- Test Field Collection microdata placement.
Code
public function setUp() {
// Create an array of the field and subfield names so we can use it to
// iterate in the getFields, getInstances, and getMappings functions.
$this->field_names = array(
$this->fieldcollectionFieldName => $this->fieldcollectionSubfieldName,
$this->fieldgroupFieldName => $this->fieldgroupSubfieldName,
);
parent::setUp(array(
'field_collection',
));
}