| 5 drupal.module | drupal_info($field = 0) |
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
<?php
function drupal_info($field = 0) {
$info['name'] = 'Drupal';
$info['protocol'] = 'XML-RPC';
if ($field) {
return $info[$field];
}
else {
return $info;
}
}
?>Login or register to post comments