You are here

function clients_drupal_admin in Web Service Clients 7

Same name and namespace in other branches
  1. 6.2 connections/clients_drupal/clients_drupal.module \clients_drupal_admin()
  2. 6 backends/clients_drupal/clients_drupal.module \clients_drupal_admin()
  3. 7.3 connections/clients_drupal/clients_drupal.module \clients_drupal_admin()
  4. 7.2 connections/clients_drupal/clients_drupal.module \clients_drupal_admin()

Return value

array Form

1 string reference to 'clients_drupal_admin'
clients_drupal_menu in backends/clients_drupal/clients_drupal.module
Implementation of hook_menu()

File

backends/clients_drupal/clients_drupal.module, line 251
Drupal Services plugin for Clients module

Code

function clients_drupal_admin() {
  $form = array();
  $options = clients_drupal_encryption_methods();
  $form['clients_drupal_encryption_method'] = array(
    '#type' => 'select',
    '#title' => t('Remote password encryption method'),
    '#default_value' => variable_get('clients_drupal_encryption_method', 'no_encryption'),
    '#options' => $options,
    '#required' => TRUE,
  );
  return system_settings_form($form);
}