You are here

function activity_comments_theme in Activity 7

Same name and namespace in other branches
  1. 6.2 activity_comments/activity_comments.module \activity_comments_theme()

Implements hook_theme().

File

activity_comments/activity_comments.module, line 260
Provides comment handling for activity messages

Code

function activity_comments_theme($existing, $type, $theme, $path) {
  return array(
    'activity_comments_comments' => array(
      'variables' => array(
        'aid' => 0,
        'comments' => array(),
        'limit' => 10,
      ),
    ),
    'activity_comments_comment' => array(
      'variables' => array(
        'comment' => NULL,
      ),
      'template' => 'activity-comment',
    ),
  );
}