ViewsDataTest::$cacheBackend

Same name and namespace in other branches
  1. 8.9.x core/modules/views/tests/src/Unit/ViewsDataTest.php \Drupal\Tests\views\Unit\ViewsDataTest::cacheBackend
  2. 10 core/modules/views/tests/src/Unit/ViewsDataTest.php \Drupal\Tests\views\Unit\ViewsDataTest::cacheBackend
  3. 11.x core/modules/views/tests/src/Unit/ViewsDataTest.php \Drupal\Tests\views\Unit\ViewsDataTest::cacheBackend

The mocked cache backend.

Type: \Drupal\Core\Cache\CacheBackendInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/views/tests/src/Unit/ViewsDataTest.php, line 21

Class

ViewsDataTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21views%21src%21ViewsData.php/class/ViewsData/9" title="Class to manage and lazy load cached views data." class="local">\Drupal\views\ViewsData</a> @group views

Namespace

Drupal\Tests\views\Unit

Code

protected $cacheBackend;

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