function ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget
Same name in other branches
- 8.9.x core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
Checks whether the flag widget is displayed.
@internal
1 call to ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- ContentTranslationOutdatedRevisionTranslationTest::testFlagAsOutdatedHidden in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOutdatedRevisionTranslationTest.php - Tests that outdated revision translations work correctly.
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOutdatedRevisionTranslationTest.php, line 93
Class
- ContentTranslationOutdatedRevisionTranslationTest
- Tests the "Flag as outdated" functionality with revision translations.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function assertFlagWidget() : void {
$this->assertSession()
->pageTextNotContains('Flag other translations as outdated');
$this->assertSession()
->pageTextContains('Translations cannot be flagged as outdated when content is moderated.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.