function theme_og_context_configure_form


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_og_context_configure_form($variables)
cle7 theme_og_context_configure_form($variables)
elmsmedia7 theme_og_context_configure_form($variables)
icor7 theme_og_context_configure_form($variables)
meedjum_blog7 theme_og_context_configure_form($variables)
mooc7 theme_og_context_configure_form($variables)

Returns HTML for a group context configuration form.


$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

2 string references to the theme hook from theme_og_context_configure_form()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

og_context_menu in sites/all/modules/ulmus/og/og_context/og_context.module
Implements hook_menu().
og_context_theme in sites/all/modules/ulmus/og/og_context/og_context.module
Implements hook_theme().


sites/all/modules/ulmus/og/og_context/, line 100
Administration functions for OG context module.


function theme_og_context_configure_form($variables) {
  $form = $variables['form'];
  $output = '';

  $type = 'group_context';
  $rows = array();
  $title = '<label>' . $form[$type]['#title'] . '</label>';
  $description = '<div class="description">' . $form[$type]['#description'] . '</div>';

  foreach ($form[$type]['title'] as $id => $element) {
    // Do not take form control structures.
    if (is_array($element) && element_child($id)) {
      $row = array(
        'data' => array(
          '<strong>' . drupal_render($form[$type]['title'][$id]) . '</strong>',
        'class' => array('draggable'),
      if ($form[$type]['#show_operations']) {
        $row['data'][] = drupal_render($form[$type]['operation'][$id]);
      $rows[] = $row;

  $header = array(
    array('data' => t('Detection method')),
    array('data' => t('Description')),
    array('data' => t('Enabled')),
    array('data' => t('Weight')),

  // If there is at least one operation enabled show the operation column.
  if ($form[$type]['#show_operations']) {
    $header[] = array('data' => t('Operations'));

  $variables = array(
    'header' => $header,
    'rows' => $rows,
    'attributes' => array('id' => "group_context-negotiation-providers-$type"),
  $table = theme('table', $variables);
  $table .= drupal_render_children($form[$type]);

  drupal_add_tabledrag("group_context-negotiation-providers-$type", 'order', 'sibling', "group_context-provider-weight-$type");

  $output .= '<div class="form-item">' . $title . $description . $table . '</div>';

  $output .= drupal_render_children($form);
  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.