option_name] = array( '#type' => 'select', '#title' => t('Default domain'), '#default_value' => $this->get_argument(TRUE), // the true forces it raw. '#process' => array('views_process_dependency'), '#options' = $options, '#description' => t('The default domain argument to provide.'), '#dependency' => array( 'radio:options[default_action]' => array('default'), 'radio:options[default_argument_type]' => array($this->id) ), '#dependency_count' => 2, ); } /** * Determine if the administrator has the privileges to use this * plugin */ function access() { return TRUE; } // Add our default argument. function get_argument() { global $_domain; return $_domain['domain_id']; } }