LanguageTestBase::$state

Same name in other branches
  1. 8.9.x core/modules/language/tests/src/Kernel/LanguageTestBase.php \Drupal\Tests\language\Kernel\LanguageTestBase::state
  2. 10 core/modules/language/tests/src/Kernel/LanguageTestBase.php \Drupal\Tests\language\Kernel\LanguageTestBase::state
  3. 11.x 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 25

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.