drupal_xmlrpc

Versions
4.6 – 5
drupal_xmlrpc()

Implementation of hook_xmlrpc().

Code

modules/drupal/drupal.module, line 241

<?php
function drupal_xmlrpc() {
  $xmlrpc = array();
  if (variable_get('drupal_client_service', 0)) {
    $xmlrpc[] = array(
      'drupal.client.ping',
      'drupal_client_ping',
      array('array', 'array', 'array'),
      t('Handling ping request')
    );
  }
  if (variable_get('drupal_authentication_service', 0)) {
    $xmlrpc[] = array(
      'drupal.login',
      'drupal_login',
      array('int', 'string', 'string'),
      t('Logging into a Drupal site')
    );
  }
  return $xmlrpc;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.