You are here

function activity_comments_theme in Activity 6.2

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

Implementation of hook_theme().

File

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

Code

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