protected function LingotekContentTypeBulkCancelTest::setUp in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 4.0.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.1.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.2.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.3.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.4.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.5.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.6.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.7.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
- 3.8.x tests/src/Functional/LingotekContentTypeBulkCancelTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkCancelTest::setUp()
Overrides LingotekTestBase::setUp
File
- tests/
src/ Functional/ LingotekContentTypeBulkCancelTest.php, line 23
Class
- LingotekContentTypeBulkCancelTest
- Tests cancelling config entities using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create Article node types.
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
// Add a language.
ConfigurableLanguage::createFromLangcode('es')
->save();
$this
->saveLingotekConfigTranslationSettings([
'node_type' => 'automatic',
]);
}