protected function MicrodataCompoundFieldsTestCase::getInstances in Microdata 7
Implements MicrodataFieldTestCase::getInstances().
Overrides MicrodataFieldTestCase::getInstances
File
- ./
microdata.test, line 717 - Tests for microdata.module.
Class
Code
protected function getInstances() {
$instances = array(
array(
'field_name' => $this->addressfieldFieldName,
'entity_type' => $this->entityType,
'bundle' => $this->bundleType,
'widget' => array(
'type' => 'addressfield_standard',
'weight' => -10,
'settings' => array(
'format_handlers' => array(
'address',
'name-oneline',
),
),
),
'display' => array(
'default' => array(
'label' => 'hidden',
'type' => 'addressfield_default',
'weight' => -10,
),
),
),
);
return $instances;
}