You are here

public function EntityMock::bundle in Hook Event Dispatcher 8

Get the entity bundle.

Return value

string Bundle.

File

tests/src/Unit/Preprocess/Helpers/EntityMock.php, line 63

Class

EntityMock
Class EntityMock.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers

Code

public function bundle() {
  return $this->bundle;
}