function commons_answers_form_commons_core_group_create_content_block_form_alter in Drupal Commons 6.2
Implementation of hook_form_FORM_ID_alter().
File
- modules/
features/ commons_answers/ commons_answers.module, line 56
Code
function commons_answers_form_commons_core_group_create_content_block_form_alter(&$form, &$form_state) {
// We expose this through the contextual "Add an answer" forms.
unset($form['node_type']['#options']['answer']);
}