protected function MicrodataBasicTestCase::getMapping in Microdata 7
Helper function; Defines the mapping to be used for testing.
Overrides MicrodataFieldTestCase::getMapping
File
- ./
microdata.test, line 141 - Tests for microdata.module.
Class
Code
protected function getMapping() {
$mapping = array(
$this->entityType => array(
$this->bundleType => array(
'#itemtype' => array(
'http://schema.org/BlogPosting',
),
'#itemid_token' => '[node:url]',
),
),
);
return $mapping;
}