public function FeatureContext::turnOffTranslationsImport in Open Social 8.5
Same name and namespace in other branches
- 8.9 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 8.3 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 8.4 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 8.6 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 8.7 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 8.8 tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 10.3.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 10.0.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 10.1.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
- 10.2.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::turnOffTranslationsImport()
Turn off translations import.
@Given I turn off translations import
File
- tests/
behat/ features/ bootstrap/ FeatureContext.php, line 873
Class
- FeatureContext
- Defines application features from the specific context.
Namespace
Drupal\social\BehatCode
public function turnOffTranslationsImport() {
// Let's disable translation.path for now.
\Drupal::configFactory()
->getEditable('locale.settings')
->set('translation.import_enabled', FALSE)
->save();
}