function drupalgap_jdrupal_connect_alter in DrupalGap 8.0.x
Same name and namespace in other branches
- 8 drupalgap.module \drupalgap_jdrupal_connect_alter()
Implements hook_jdrupal_connect_alter().
File
- ./
drupalgap.module, line 47
Code
function drupalgap_jdrupal_connect_alter(&$results) {
// Add some custom data to the result.
$results['my_module'] = array(
'hello' => 'world',
'foo' => array(
'bar',
'chew',
),
'remote_addr' => $_SERVER['REMOTE_ADDR'],
);
}