You are here

function entity_example_basic_load_multiple in Examples for Developers 7

Loads multiple basic entities.

We only need to pass this request along to entity_load(), which will in turn call the load() method of our entity controller class.

Related topics

2 calls to entity_example_basic_load_multiple()
entity_example_basic_list_entities in entity_example/entity_example.module
Returns a render array with all entity_example_basic entities.
entity_example_basic_load in entity_example/entity_example.module
Fetch a basic object.

File

entity_example/entity_example.module, line 133
Implements the basic functionality required to create and display an entity.

Code

function entity_example_basic_load_multiple($basic_ids = FALSE, $conditions = array(), $reset = FALSE) {
  return entity_load('entity_example_basic', $basic_ids, $conditions, $reset);
}