projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Entity
/
KeyValueStore
/
KeyValueEntityStorage.php
diff --git
a/web/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
b/web/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
index de77e09d20f3ac94492900e3a65516592e1fdb1b..cd2f26efbd695a6d9720ea0ceea65a861576586e 100644
(file)
--- a/
web/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
+++ b/
web/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
@@
-187,6
+187,13
@@
class KeyValueEntityStorage extends EntityStorageBase {
return $this->keyValueStore->has($id);
}
+ /**
+ * {@inheritdoc}
+ */
+ public function hasData() {
+ return (bool) $this->keyValueStore->getAll();
+ }
+
/**
* {@inheritdoc}
*/