Hi, I'm using your module, and I want to know the hook to load default connections from my wrapper module. I'm talking about scc connections. I've found how to load hooks, but not connections.

Thanks in advance.

Comments

mhrabovcin’s picture

Hi,

there should be function to get initialized connection:

$connection = services_client_connection_get('<machine-name>');
// Now you can work with connection
$remote_node = $connection->get('node', 1);