You are here

function disqus_element_info in Disqus 7

Implements hook_element_info().

File

./disqus.module, line 101
The Disqus Drupal module.

Code

function disqus_element_info() {
  $types['disqus'] = array(
    '#disqus' => array(),
    '#theme_wrappers' => array(
      'disqus_noscript',
      'container',
    ),
    '#attributes' => array(
      'id' => 'disqus_thread',
    ),
    '#post_render' => array(
      'disqus_element_post_render',
    ),
  );
  return $types;
}