You are here

protected function MicrodataCompoundFieldsTestCase::getFields in Microdata 7

Implements MicrodataFieldTestCase::getFields().

Overrides MicrodataFieldTestCase::getFields

File

./microdata.test, line 700
Tests for microdata.module.

Class

MicrodataCompoundFieldsTestCase

Code

protected function getFields() {
  $fields = array(
    array(
      'field_name' => $this->addressfieldFieldName,
      'type' => 'addressfield',
      'cardinality' => 2,
      'entity_types' => array(
        $this->entityType,
      ),
      'translatable' => FALSE,
    ),
  );
  return $fields;
}