function comment_skinr_ui_element_options in Skinr 8.2
Same name and namespace in other branches
- 7.2 modules/comment.skinr.inc \comment_skinr_ui_element_options()
Implements hook_skinr_ui_element_options().
File
- modules/
comment.skinr.inc, line 17 - Implements Skinr hooks for comment.module.
Code
function comment_skinr_ui_element_options($theme_name = NULL) {
$options = array(
'comment' => array(),
);
return $options;
$types = node_type_get_types();
foreach ($types as $type) {
$options['comment'][$type->type] = $type->name;
}
asort($options['comment']);
return $options;
}