You are here

public function RadioactivityFunctionTestTrait::setEntityBundle in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x tests/src/Traits/RadioactivityFunctionTestTrait.php \Drupal\Tests\radioactivity\Traits\RadioactivityFunctionTestTrait::setEntityBundle()

Set the entity bundle.

Parameters

string $bundle: The entity bundle.

2 calls to RadioactivityFunctionTestTrait::setEntityBundle()
EmitTest::testCount in tests/src/FunctionalJavascript/EmitTest.php
Tests Radioactivity count functionality.
EmitTest::testUnpublished in tests/src/FunctionalJavascript/EmitTest.php
Validate that no energy is emitted if entity is unpublished.

File

tests/src/Traits/RadioactivityFunctionTestTrait.php, line 223

Class

RadioactivityFunctionTestTrait
Radioactivity functional test trait.

Namespace

Drupal\Tests\radioactivity\Traits

Code

public function setEntityBundle($bundle) {
  $this->entityBundle = $bundle;
}