You are here

function _services_ahah_security_options in Services 7

Same name and namespace in other branches
  1. 6.2 services_admin_browse.inc \_services_ahah_security_options()

Callback for the security configuration form ahah.

2 string references to '_services_ahah_security_options'
services_admin_settings in ./services_admin_browse.inc
services_menu in ./services.module
Implements hook_menu().

File

./services_admin_browse.inc, line 335
@author Services Dev Team

Code

function _services_ahah_security_options($form, &$form_state) {
  if (!empty($_POST['auth_module'])) {
    $settings = services_auth_invoke_custom($_POST['auth_module'], 'security_settings');
  }
  $settings['security']['options']['#prefix'] = '<div id="security-module-options">';
  $settings['security']['options']['#sufix'] = '</div>';
  return drupal_render($settings);
}