You are here

protected function EmailTestCase::getFields in Microdata 7

Implements MicrodataFieldTestCase::getFields().

Overrides MicrodataFieldTestCase::getFields

File

modules/email/email.test, line 54
Tests for Email module.

Class

EmailTestCase
Test Email module microdata placement.

Code

protected function getFields() {

  // Create fields for the field collection and for the field group.
  $fields = array();
  foreach ($this->fieldFormatterTypes as $type) {
    $fields[] = array(
      'field_name' => $type,
      'type' => 'email',
    );
  }
  return $fields;
}