You are here

function sharethis_block_theme in Sharethis block 7

Same name and namespace in other branches
  1. 8 sharethis_block.module \sharethis_block_theme()

Implements hook_theme().

File

./sharethis_block.module, line 11
Hook implementations for the sharethis_block module.

Code

function sharethis_block_theme($existing, $type, $theme, $path) {
  return [
    'block__sharethis_block' => [
      'render element' => 'elements',
      'base hook' => 'block',
      'template' => 'block--sharethis-block',
      'path' => drupal_get_path('module', 'sharethis_block') . '/templates',
    ],
  ];
}