protected function Drupali18nTestCase::i18nGet in Internationalization 6
Same name and namespace in other branches
- 7 i18n.test \Drupali18nTestCase::i18nGet()
Retrieves a Drupal path or an absolute path with language
2 calls to Drupali18nTestCase::i18nGet()
- i18n_Blocks_Test::i18nTranslateBlock in tests/
i18n_blocks.test - Translate block fields to all languages
- i18n_Blocks_Test::testBlockTranslation in tests/
i18n_blocks.test
File
- tests/
drupal_i18n_test_case.php, line 176
Class
- Drupali18nTestCase
- Test case for typical Drupal tests.
Code
protected function i18nGet($langcode, $path = '', array $options = array(), array $headers = array()) {
$options += array(
'language' => $this
->getLanguage($langcode),
);
return $this
->drupalGet($path, $options, $headers);
}