abstract public function WebformLocalizationSubmissionTestCase::setTranslationOptions in Webform Localization 7.4
Set the translation options.
The options can be set here for either string translation or localization by sync, or can be extended to set some other options.
1 call to WebformLocalizationSubmissionTestCase::setTranslationOptions()
- WebformLocalizationSubmissionTestCase::testLocalizedSubmission in tests/
webform_localization.submission.test - Create a webform with translations, and performs some submissions.
2 methods override WebformLocalizationSubmissionTestCase::setTranslationOptions()
- WebformLocalizationStringSubmissionTestCase::setTranslationOptions in tests/
webform_localization.submission.test - Set options to use localization by string translation.
- WebformLocalizationSyncSubmissionTestCase::setTranslationOptions in tests/
webform_localization.submission.test - Enables localization by sync: sync components, roles and emails.
File
- tests/
webform_localization.submission.test, line 79 - This file contains test classes for testing localized webform submissions.
Class
- WebformLocalizationSubmissionTestCase
- Abstract class that defines the actual tests.
Code
public abstract function setTranslationOptions();