You are here

public function BambooTwigI18nTest::setUp in Bamboo Twig 8.3

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/BambooTwigI18nTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigI18nTest::setUp()
  2. 8.4 tests/src/Functional/BambooTwigI18nTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigI18nTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/BambooTwigI18nTest.php, line 45

Class

BambooTwigI18nTest
Tests I18n twig filters and functions.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function setUp() {
  parent::setUp();

  /** @var \Drupal\Core\Entity\EntityTypeManager $entityTypeManager */
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
  $this
    ->setUpLanguages();
  $this
    ->setUpArticles();
  $this
    ->setUpTags();
  $this
    ->setUpTranslations();
}