function theme_forum_form

7.x forum.admin.inc theme_forum_form($variables)

Returns HTML for a forum form.

By default this does not alter the appearance of a form at all, but is provided as a convenience for themers.

Parameters

$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

2 theme calls to theme_forum_form()
forum_form_container in drupal-7.x/modules/forum/forum.admin.inc
Form constructor for adding and editing forum containers.
forum_form_forum in drupal-7.x/modules/forum/forum.admin.inc
Form constructor for adding and editing a forum.

File

drupal-7.x/modules/forum/forum.admin.inc, line 134
Administrative page callbacks for the Forum module.

Code

function theme_forum_form($variables) {
  return drupal_render_children($variables['form']);
}