function ctools_context_node_add_form_settings_form

cis7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
cle7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
elmsmedia7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
icor7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
meedjum_blog7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
mooc7 node_add_form.inc ctools_context_node_add_form_settings_form($form, &$form_state)
1 string reference to 'ctools_context_node_add_form_settings_form'
node_add_form.inc in sites/all/modules/ulmus/ctools/plugins/contexts/node_add_form.inc
Plugin to provide a node_add_form context

File

sites/all/modules/ulmus/ctools/plugins/contexts/node_add_form.inc, line 98
Plugin to provide a node_add_form context

Code

function ctools_context_node_add_form_settings_form($form, &$form_state) {
  $conf = $form_state['conf'];

  $form['type'] = array(
    '#title' => t('Node type'),
    '#type' => 'select',
    '#options' => node_type_get_names(),
    '#default_value' => $conf['type'],
    '#description' => t('Select the node type for this form.'),
  );

  return $form;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.