function comment_theme
comment_theme()
Implements hook_theme().
File
- modules/comment/comment.module, line 195
- Enables users to comment on published content.
Code
function comment_theme() { return array( 'comment_block' => array( 'variables' => array(), ), 'comment_preview' => array( 'variables' => array('comment' => NULL), ), 'comment' => array( 'template' => 'comment', 'render element' => 'elements', ), 'comment_post_forbidden' => array( 'variables' => array('node' => NULL), ), 'comment_wrapper' => array( 'template' => 'comment-wrapper', 'render element' => 'content', ), ); }
© 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!comment!comment.module/function/comment_theme/7.x