Skip to content
Snippets Groups Projects
Commit 77c85e32 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #932016 by fago, klausi: fixed entity_load() defaults

parent 22ffb800
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -7034,7 +7034,7 @@ function entity_create_stub_entity($entity_type, $ids) { ...@@ -7034,7 +7034,7 @@ function entity_create_stub_entity($entity_type, $ids) {
* @return * @return
* An array of entity objects indexed by their ids. * An array of entity objects indexed by their ids.
*/ */
function entity_load($entity_type, $ids = array(), $conditions = array(), $reset = FALSE) { function entity_load($entity_type, $ids = FALSE, $conditions = array(), $reset = FALSE) {
if ($reset) { if ($reset) {
entity_get_controller($entity_type)->resetCache(); entity_get_controller($entity_type)->resetCache();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment