Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Controller/ControllerBase.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
91 protected $currentUser; | 91 protected $currentUser; |
92 | 92 |
93 /** | 93 /** |
94 * The state service. | 94 * The state service. |
95 * | 95 * |
96 * @var \Drupal\Core\KeyValueStore\KeyValueStoreInterface | 96 * @var \Drupal\Core\State\StateInterface |
97 */ | 97 */ |
98 protected $stateService; | 98 protected $stateService; |
99 | 99 |
100 /** | 100 /** |
101 * The module handler. | 101 * The module handler. |
220 * that does not need deploying and does not need human editing; for example, | 220 * that does not need deploying and does not need human editing; for example, |
221 * the last time cron was run. Data which needs to be edited by humans and | 221 * the last time cron was run. Data which needs to be edited by humans and |
222 * needs to be the same across development, production, etc. environments | 222 * needs to be the same across development, production, etc. environments |
223 * (for example, the system maintenance message) should use config() instead. | 223 * (for example, the system maintenance message) should use config() instead. |
224 * | 224 * |
225 * @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface | 225 * @return \Drupal\Core\State\StateInterface |
226 */ | 226 */ |
227 protected function state() { | 227 protected function state() { |
228 if (!$this->stateService) { | 228 if (!$this->stateService) { |
229 $this->stateService = $this->container()->get('state'); | 229 $this->stateService = $this->container()->get('state'); |
230 } | 230 } |