LayoutBuilderTranslationTest::$entity

Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderTranslationTest::entity
  2. 10 core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderTranslationTest::entity
  3. 11.x core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderTranslationTest::entity

The entity used for testing.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php, line 37

Class

LayoutBuilderTranslationTest
Tests that the Layout Builder works with translated content.

Namespace

Drupal\Tests\layout_builder\Functional

Code

protected $entity;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.