You are here

function system_settings_service_service in Deploy - Content Staging 5

Same name and namespace in other branches
  1. 6 services/system_settings_service/system_settings_service.module \system_settings_service_service()

Implementation of hook_service()

File

services/system_settings_service/system_settings_service.module, line 18

Code

function system_settings_service_service() {
  return array(
    // content_copy.import
    array(
      '#method' => 'system_settings.import',
      '#callback' => 'system_settings_service_import',
      '#args' => array(
        array(
          '#name' => 'settings',
          '#type' => 'struct',
          '#description' => t('Array of system settings form values.'),
        ),
      ),
      '#return' => 'string',
      '#help' => t('Import system settings'),
    ),
  );
}