HandlerTestTrait::$view

Same name in other branches
  1. 9 core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
  2. 8.9.x core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
  3. 10 core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view

The mocked view entity.

Type: \Drupal\views\Entity\View|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php, line 17

Class

HandlerTestTrait
Test trait to mock dependencies of a handler.

Namespace

Drupal\Tests\views\Unit\Plugin

Code

protected $view;

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