From 2d82030f8ff9f4ab637ae3603f717553d8b1706f Mon Sep 17 00:00:00 2001 From: Omar Mohamad - El Hassan Lopesino Date: Mon, 4 Feb 2019 19:17:39 +0100 Subject: [PATCH] Issue #39: Return value obtained in State::get --- src/Driver/Objects/Drupal8/State.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Driver/Objects/Drupal8/State.php b/src/Driver/Objects/Drupal8/State.php index 55219a4..d522767 100644 --- a/src/Driver/Objects/Drupal8/State.php +++ b/src/Driver/Objects/Drupal8/State.php @@ -15,7 +15,7 @@ class State implements StateInterface { * {@inheritdoc} */ public function get($key, $default = NULL) { - \Drupal::state()->get($key, $default); + return \Drupal::state()->get($key, $default); } /**