Skip to content
Snippets Groups Projects
Unverified Commit 126b594c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2921734 by TR: Fix ControllerBase stateService documentation

parent 13bfd9f3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -93,7 +93,7 @@ abstract class ControllerBase implements ContainerInjectionInterface { ...@@ -93,7 +93,7 @@ abstract class ControllerBase implements ContainerInjectionInterface {
/** /**
* The state service. * The state service.
* *
* @var \Drupal\Core\KeyValueStore\KeyValueStoreInterface * @var \Drupal\Core\State\StateInterface
*/ */
protected $stateService; protected $stateService;
...@@ -222,7 +222,7 @@ protected function keyValue($collection) { ...@@ -222,7 +222,7 @@ protected function keyValue($collection) {
* needs to be the same across development, production, etc. environments * needs to be the same across development, production, etc. environments
* (for example, the system maintenance message) should use config() instead. * (for example, the system maintenance message) should use config() instead.
* *
* @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface * @return \Drupal\Core\State\StateInterface
*/ */
protected function state() { protected function state() {
if (!$this->stateService) { if (!$this->stateService) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment