BlockConfigEntityUnitTest::$entityType

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

The entity type used for testing.

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

File

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

Class

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

Namespace

Drupal\Tests\block\Unit

Code

protected $entityType;

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