function EntityTranslationTaxonomyAutocompleteTestCase::enableInPlaceTranslation in Entity Translation 7
Enables in-place translation.
1 call to EntityTranslationTaxonomyAutocompleteTestCase::enableInPlaceTranslation()
- EntityTranslationTaxonomyAutocompleteTestCase::testInPlaceTranslation in tests/
entity_translation.test - Tests that in-place translation works as expected.
File
- tests/
entity_translation.test, line 1288 - Tests for Entity translation module.
Class
- EntityTranslationTaxonomyAutocompleteTestCase
- Tests for the taxonomy autocomplete translation modes.
Code
function enableInPlaceTranslation() {
$edit = array(
'instance[settings][entity_translation_taxonomy_autocomplete_translate]' => TRUE,
);
$this
->drupalPost('admin/structure/types/manage/page/fields/field_test_tags', $edit, t('Save settings'));
}