function ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
- 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
Test that revision_log is not translatable.
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationStandardFieldsTest.php, line 78
Class
- ContentTranslationStandardFieldsTest
- Tests the Content translation settings using the standard profile.
Namespace
Drupal\Tests\content_translation\FunctionalCode
public function testRevisionLogNotTranslatable() {
$path = 'admin/config/regional/content-language';
$this->drupalGet($path);
$this->assertNoFieldByXPath("//input[@id='edit-settings-node-article-fields-revision-log']");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.