EntityComputedFieldTest::$state

Same name in other branches
  1. 11.x core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php \Drupal\Tests\system\Functional\Entity\EntityComputedFieldTest::state

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php, line 34

Class

EntityComputedFieldTest
Tests that entities with computed fields work correctly.

Namespace

Drupal\Tests\system\Functional\Entity

Code

protected StateInterface $state;

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