HandlerTestTrait::$view

Same name and namespace in other branches
  1. 8.9.x core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
  2. 10 core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
  3. 11.x 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 15

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.