By robloach on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
XML-RPC allows external systems to communicate with Drupal. Before Drupal 8, this functionality was part of the internal system. For Drupal 8, the contrib XML-RPC module must be enabled in order to allow these communications to take place.
Ongoing development of the module will take place in the XML-RPC project.
Drupal 7
$result = xmlrpc('http://example.com/xmlrpc.php', array(
'service.methodName' => array($parameter, $second, $third),
));
Drupal 8
mymodule.info.yml
dependencies:
- xmlrpc
// This code now depends on the xmlrpc module.
$result = xmlrpc('http://example.com/xmlrpc.php', array(
'service.methodName' => array($parameter, $second, $third),
));
Once the contrib XML-RPC module is enabled, the XML-RPC callback is the same as it was in Drupal 7 at http://example.com/xmlrpc.php.
Impacts:
Site builders, administrators, editors
Module developers