You are here

function formassembly_load_multiple in FormAssembly 7

Load multiple fa_form entities.

Parameters

array $eids: An array of Drupal entity IDs

bool $reset: Flag to reset cache

Return value

array An array of fa_form entities keyed by ID

2 calls to formassembly_load_multiple()
formassembly_build_list in ./formassembly.admin.inc
Callback for the formassembly overview page.
formassembly_load in ./formassembly.module
Load a single fa_form entity.

File

./formassembly.module, line 105
Contains hooks implementations and callbacks to non-admin pages.

Code

function formassembly_load_multiple($eids = array(), $reset = FALSE) {
  if ($reset) {
    entity_get_controller('fa_form')
      ->resetCache();
  }
  return entity_get_controller('fa_form')
    ->load($eids);
}