You are here

function comment_skinr_elements in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 modules/comment.skinr.inc \comment_skinr_elements()

Implements hook_skinr_elements().

File

modules/comment.skinr.inc, line 59
Implements Skinr hooks for comment.module.

Code

function comment_skinr_elements($variables, $hook) {
  $elements = array();
  if ($hook == 'comment_wrapper') {

    //dpm($variables['entity']->type);

    //dpm($variables['entity']->bundle());
    $elements['comment'] = array(
      $variables['node']->type,
    );
  }
  return $elements;
}