CacheableMetadataCalculationTest::$state

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php, line 29

Class

CacheableMetadataCalculationTest
Tests that cacheability metadata is only calculated when needed.

Namespace

Drupal\Tests\views\Kernel

Code

protected $state;

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