Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Entity / EntityStorageInterface.php
index 50166d6e27877febcc87c0ba6213456bdd63094a..9f50674d0df34c020ef398e0634bcaebb8886e60 100644 (file)
@@ -142,6 +142,14 @@ interface EntityStorageInterface {
    */
   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.
    *