You are here

public function BambooTwigExtensionsI18nTest::setUp in Bamboo Twig 8.3

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/BambooTwigExtensionsI18nTest.php, line 31

Class

BambooTwigExtensionsI18nTest
Tests Extensions i18n of 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
    ->setUpTranslations();
}