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
/
EntityStorageInterface.php
diff --git
a/web/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
b/web/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
index 50166d6e27877febcc87c0ba6213456bdd63094a..9f50674d0df34c020ef398e0634bcaebb8886e60 100644
(file)
--- a/
web/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
+++ b/
web/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
@@
-142,6
+142,14
@@
interface EntityStorageInterface {
*/
public function save(EntityInterface $entity);
*/
public function save(EntityInterface $entity);
+ /**
+ * Determines if the storage contains any data.
+ *
+ * @return bool
+ * TRUE if the storage contains data, FALSE if not.
+ */
+ public function hasData();
+
/**
* Gets an entity query instance.
*
/**
* Gets an entity query instance.
*