function drupal_info in Drupal 4
Same name and namespace in other branches
- 5 modules/drupal/drupal.module \drupal_info()
Implementation of hook_info().
File
- modules/
drupal.module, line 297 - Lets users log in using a Drupal ID and can notify a central server about your site.
Code
function drupal_info($field = 0) {
$info['name'] = 'Drupal';
$info['protocol'] = 'XML-RPC';
if ($field) {
return $info[$field];
}
else {
return $info;
}
}