You are here

function brainstorm_theme_preprocess_comment in Brainstorm profile 7

Same name and namespace in other branches
  1. 8 theme/brainstorm_theme/brainstorm_theme.theme \brainstorm_theme_preprocess_comment()

Implements hook_preprocess_comment().

File

themes/brainstorm_theme/template.php, line 292
Process theme data.

Code

function brainstorm_theme_preprocess_comment(&$variables) {
  $variables['created'] = date('F d, Y', $variables['elements']['#node']->created);
  $variables['submitted'] = t('!username  !datetime', [
    '!username' => $variables['author'],
    '!datetime' => $variables['created'],
  ]);
}