You are here

protected function LayoutBuilderAtInstallTest::setUp in Layout Builder Asymmetric Translation 8.2

Overrides LayoutBuilderAtBase::setUp

File

tests/src/Functional/LayoutBuilderAtInstallTest.php, line 25

Class

LayoutBuilderAtInstallTest
Layout Builder Asymmetric Translations install tests.

Namespace

Drupal\Tests\layout_builder_at\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->setUpViewDisplay();
  $this
    ->setUpEntities();

  // No enable our module. hook_install() will make the field translatable.
  \Drupal::service('module_installer')
    ->install([
    'layout_builder_at',
  ]);
  $this
    ->resetAll();
  $this
    ->rebuildContainer();
  $this->container
    ->get('module_handler')
    ->reload();
}