theme_forum_form

function theme_forum_form

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

File

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']);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!forum!forum.admin.inc/function/theme_forum_form/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部