EntityKernelTestBase::$state

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::state
  2. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::state
  3. 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::state

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php, line 56

Class

EntityKernelTestBase
Defines an abstract test base for entity kernel tests.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected $state;

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