BlockConfigEntityUnitTest::$entityTypeManager

Same name and namespace in other branches
  1. 9 core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php \Drupal\Tests\block\Unit\BlockConfigEntityUnitTest::entityTypeManager
  2. 8.9.x core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php \Drupal\Tests\block\Unit\BlockConfigEntityUnitTest::entityTypeManager
  3. 10 core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php \Drupal\Tests\block\Unit\BlockConfigEntityUnitTest::entityTypeManager

The entity type manager used for testing.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php, line 32

Class

BlockConfigEntityUnitTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21block%21src%21Entity%21Block.php/class/Block/11.x" title="Defines a Block configuration entity class." class="local">\Drupal\block\Entity\Block</a> @group block

Namespace

Drupal\Tests\block\Unit

Code

protected $entityTypeManager;

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