You are here

function oauth2_server_load_multiple in OAuth2 Server 7

Loads multiple server entities.

Parameters

string[] $names: An array of server machine names.

Return value

OAuth2Server[] An array of server entities indexed by their ids.

File

./oauth2_server.module, line 420
Provides OAuth2 server functionality.

Code

function oauth2_server_load_multiple($names) {
  return entity_load_multiple_by_name('oauth2_server', $names);
}