function drupal_info in Drupal 5
Same name and namespace in other branches
- 4 modules/drupal.module \drupal_info()
Implementation of hook_info().
File
- modules/
drupal/ drupal.module, line 298 - 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;
}
}