From c0683a41657893c57b9c4badaacda2da1d557968 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Sat, 8 Nov 2014 17:03:12 -0800
Subject: [PATCH] Issue #2371499 by er.pushpinderrana | Alex Bukach: Fixed
 Misprint in State API example.

---
 core/modules/system/core.api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/system/core.api.php b/core/modules/system/core.api.php
index 5983876a9977..008e99c35f50 100644
--- a/core/modules/system/core.api.php
+++ b/core/modules/system/core.api.php
@@ -186,7 +186,7 @@
  * // Find out when cron was last run; the key is 'system.cron_last'.
  * $time = $state->get('system.cron_last');
  * // Set the cron run time to the current request time.
- * $state->set('system_cron_last', REQUEST_TIME);
+ * $state->set('system.cron_last', REQUEST_TIME);
  * @endcode
  *
  * For more on the State API, see https://drupal.org/developing/api/8/state
-- 
GitLab