You are here

protected property CacheableMetadataCalculationTest::$state in Drupal 8

Same name in this branch
  1. 8 core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php \Drupal\Tests\views\Kernel\CacheableMetadataCalculationTest::state
  2. 8 core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php \Drupal\views_test_cacheable_metadata_calculation\Plugin\views\access\CacheableMetadataCalculationTest::state
Same name and namespace in other branches
  1. 9 core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php \Drupal\views_test_cacheable_metadata_calculation\Plugin\views\access\CacheableMetadataCalculationTest::state

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php, line 29

Class

CacheableMetadataCalculationTest
Tests plugin that reports when cacheable metadata is being calculated.

Namespace

Drupal\views_test_cacheable_metadata_calculation\Plugin\views\access

Code

protected $state;