diff --git a/core/modules/entity/entity.module b/core/modules/entity/entity.module index 4f85152..3c60d0d 100644 --- a/core/modules/entity/entity.module +++ b/core/modules/entity/entity.module @@ -204,7 +204,7 @@ function entity_load($entity_type, $id, $reset = FALSE) { * @see Drupal\entity\EntityStorageControllerInterface * @see Drupal\entity\DatabaseStorageController */ -function entity_load_revision($entity_type, $revision_id) { +function entity_revision_load($entity_type, $revision_id) { return entity_get_controller($entity_type)->loadRevision($revision_id); } diff --git a/core/modules/node/node.module b/core/modules/node/node.module index b443b20..b3805ed 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -1022,7 +1022,7 @@ function node_load($nid = NULL, $reset = FALSE) { * A fully-populated node entity, or FALSE if the node is not found. */ function node_revision_load($vid = NULL) { - return entity_load_revision('node', $vid); + return entity_revision_load('node', $vid); } /**