At the end, Drupal 8 deprecated functions like [`node_load_multiple()`][1], [`user_load_multiple()`][2], not just the `$conditions` parameter they used. This means it isn't possible to write Drupal 7 code that is compatible with Drupal 8, as the classes used in Drupal 8 aren't available on Drupal 7. 

Drupal 7 code can still use `node_load_multiple()` and its `$conditions` parameter. To load all the nodes whose content type is `$content_type`, it's sufficient to use the following code.

```php
$nodes = node_load_multiple(array(), array('type' => $content_type));
```

A more generic code that works for any entity would be the following one.

```php
$entities = entity_load($entity_type, array(), array('type' => $bundle);
```

Despite the name, [`entity_load()`][3] loads more entities. It's the function used from `node_load_multiple()`.

```php
function node_load_multiple($nids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('node', $nids, $conditions, $reset);
}
```










  [1]: https://api.drupal.org/api/drupal/core%21modules%21node%21node.module/function/node_load_multiple/8.0.x
  [2]: https://api.drupal.org/api/drupal/core%21modules%21user%21user.module/function/user_load_multiple/8.0.x
  [3]: https://api.drupal.org/api/drupal/includes%21common.inc/function/entity_load/7.x