HandlerTestTrait::$view
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
- 8.9.x core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php \Drupal\Tests\views\Unit\Plugin\HandlerTestTrait::view
- 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 17
Class
- HandlerTestTrait
- Test trait to mock dependencies of a handler.
Namespace
Drupal\Tests\views\Unit\PluginCode
protected $view;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.