public function DataLayerUnitTests::setupMockFieldLanguage in dataLayer 7
Setup Mock Field Language.
1 call to DataLayerUnitTests::setupMockFieldLanguage()
- DataLayerUnitTests::setupMockEntityTerms in tests/
datalayer.unit.test - Setup Mock Entity Terms.
File
- tests/
datalayer.unit.test, line 245 - Tests the functionality of the DataLayer module.
Class
- DataLayerUnitTests
- @file Tests the functionality of the DataLayer module.
Code
public function setupMockFieldLanguage() {
$field_language =& drupal_static('field_language');
$field_language = array(
'node' => array(
1 => array(
'en' => array(
'field_tags' => 'und',
),
),
),
);
}