EntityUnitTestBase::$state

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/modules/system/src/Tests/Entity/EntityUnitTestBase.php, line 53

Class

EntityUnitTestBase
Defines an abstract test base for entity unit tests.

Namespace

Drupal\system\Tests\Entity

Code

protected $state;

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