public function EntityMock::__construct in Hook Event Dispatcher 8
EntityMock constructor.
Parameters
string $type: Entity type.
string $bundle: Entity bundle.
string $viewMode: View mode.
File
- tests/
src/ Unit/ Preprocess/ Helpers/ EntityMock.php, line 41
Class
- EntityMock
- Class EntityMock.
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersCode
public function __construct($type, $bundle, $viewMode) {
$this->bundle = $bundle;
$this->type = $type;
$this->viewMode = $viewMode;
}