You are here

protected property ControllerBase::$stateService in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::stateService
  2. 10 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::stateService

The state service.

Type: \Drupal\Core\State\StateInterface

File

core/lib/Drupal/Core/Controller/ControllerBase.php, line 89

Class

ControllerBase
Utility base class for thin controllers.

Namespace

Drupal\Core\Controller

Code

protected $stateService;