Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Entity / EntityStorageInterface.php
index 9f50674d0df34c020ef398e0634bcaebb8886e60..1db273945aace49519e67d3fc3726d5171d84807 100644 (file)
@@ -79,6 +79,12 @@ interface EntityStorageInterface {
    *
    * @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);
 
@@ -89,6 +95,12 @@ interface EntityStorageInterface {
    *
    * @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);