You are here

protected function EmailTestCase::getMapping in Microdata 7

Implements MicrodataFieldTestCase::getMapping().

Overrides MicrodataFieldTestCase::getMapping

File

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

Class

EmailTestCase
Test Email module microdata placement.

Code

protected function getMapping() {
  foreach ($this->fieldFormatterTypes as $type) {
    $mapping[$this->entityType][$this->bundleType][$type] = array(
      '#itemprop' => array(
        $type,
      ),
    );
  }
  return $mapping;
}