protected function LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 4.0.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.0.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.1.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.2.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.3.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.4.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.5.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.6.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- 3.8.x tests/src/Functional/LingotekNodeTranslationAppendTypeTitleOptionTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
Sets the setting for appending type title through the UI.
Parameters
bool $value: TRUE if we should append type title. FALSE if not.
6 calls to LingotekNodeTranslationAppendTypeTitleOptionTest::setSettingsAppendTypeTitle()
- LingotekNodeTranslationAppendTypeTitleOptionTest::testProfileAppendTypeTitle in tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php - Test to append type title by using the profile options.
- LingotekNodeTranslationAppendTypeTitleOptionTest::testProfileNoAppendTypeTitle in tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php - Test to not append type title by using the profile options.
- LingotekNodeTranslationAppendTypeTitleOptionTest::testProfileUseGlobalSettingsAppendTypeTitle in tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php - Test to append type title by using the profile options defaulting to settings.
- LingotekNodeTranslationAppendTypeTitleOptionTest::testProfileUseGlobalSettingsNoAppendTypeTitle in tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php - Test to not append type title by using the profile options defaulting to settings.
- LingotekNodeTranslationAppendTypeTitleOptionTest::testSettingsAppendTypeTitle in tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php - Test to append type title by using the settings.
File
- tests/
src/ Functional/ LingotekNodeTranslationAppendTypeTitleOptionTest.php, line 82
Class
- LingotekNodeTranslationAppendTypeTitleOptionTest
- Tests the append type to document title option.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function setSettingsAppendTypeTitle($value) {
$this
->drupalGet('/admin/lingotek/settings');
$edit = [
'append_type_to_title' => $value,
];
$this
->drupalPostForm('admin/lingotek/settings', $edit, 'Save', [], 'lingoteksettings-tab-preferences-form');
}