function patterns_d2d_drupaltodrupal_secure_rpc in Patterns 7.2
Same name and namespace in other branches
- 7 patterns_d2d/includes/patterns_d2d.srpc.inc \patterns_d2d_drupaltodrupal_secure_rpc()
Implements hook_drupaltodrupal_secure_rpc().
File
- patterns_d2d/
includes/ patterns_d2d.srpc.inc, line 11 - Code related to send pattern to server / receive pattern as server.
Code
function patterns_d2d_drupaltodrupal_secure_rpc() {
$methods = array();
$methods['patterns_d2d_push_patterns'] = array(
'arguments' => array(
'patterns' => 'is_string',
),
'callback' => 'patterns_d2d_push_patterns_server',
'description' => 'publish public patterns to remote server',
);
return $methods;
}