You are here

function prod_check_xmlrpc_xmlrpc in Production check & Production monitor 8

Implements hook_xmlrpc

File

modules/prod_check_xmlrpc/prod_check_xmlrpc.module, line 13
Production check XML-RPC connector

Code

function prod_check_xmlrpc_xmlrpc() {
  return [
    [
      'prod_check.get_settings',
      'prod_check_xmlrpc_get_settings',
      [
        'struct',
        'string',
      ],
      t("Returns a struct containing a form to be displayed on the prod_monitor module's settings page for site specific configuration."),
    ],
    [
      'prod_check.get_data',
      'prod_check_xmlrpc_get_data',
      [
        'struct',
        'string',
        'struct',
      ],
      t('Returns a struct containing the result of all requested checks.'),
    ],
  ];
}