LanguageTestBase::$state

Same name in other branches
  1. 9 core/modules/language/tests/src/Kernel/LanguageTestBase.php \Drupal\Tests\language\Kernel\LanguageTestBase::state
  2. 8.9.x core/modules/language/tests/src/Kernel/LanguageTestBase.php \Drupal\Tests\language\Kernel\LanguageTestBase::state
  3. 10 core/modules/language/tests/src/Kernel/LanguageTestBase.php \Drupal\Tests\language\Kernel\LanguageTestBase::state

The state storage service.

Type: \Drupal\Core\State\StateInterface

File

core/modules/language/tests/src/Kernel/LanguageTestBase.php, line 30

Class

LanguageTestBase
Test for dependency injected language object.

Namespace

Drupal\Tests\language\Kernel

Code

protected $state;

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