$size) { $sizes[$key] = $size['label']; } $form[$this->option_name] = array( '#type' => 'select', '#title' => t('Default argument'), '#options' => $sizes, '#default_value' => $this->get_argument(), '#process' => array('views_process_dependency'), '#dependency' => array( 'radio:options[default_action]' => array('default'), 'radio:options[default_argument_type]' => array($this->id), ), '#dependency_count' => 2, ); } }