*
* @return \Drupal\Core\Entity\EntityInterface|null
* The specified entity revision or NULL if not found.
+ *
+ * @todo Deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
+ * Use \Drupal\Core\Entity\RevisionableStorageInterface instead.
+ *
+ * @see https://www.drupal.org/node/2926958
+ * @see https://www.drupal.org/node/2927226
*/
public function loadRevision($revision_id);
*
* @param int $revision_id
* The revision id.
+ *
+ * @todo Deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
+ * Use \Drupal\Core\Entity\RevisionableStorageInterface instead.
+ *
+ * @see https://www.drupal.org/node/2926958
+ * @see https://www.drupal.org/node/2927226
*/
public function deleteRevision($revision_id);
*/
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.
*