You are here

function shareaholic_theme in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 shareaholic.module \shareaholic_theme()

Implements hook_theme().

Defines the themes for each template in this module

Return value

array An array that includes themes implemented for shareaholic templates

File

./shareaholic.module, line 136
Allows site owner to add share buttons/recommendations on their website

Code

function shareaholic_theme() {
  return array(
    'shareaholic_admin_advanced' => array(
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_admin_advanced',
    ),
    'shareaholic_admin_settings' => array(
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_admin_settings',
    ),
    'shareaholic_tos_modal' => array(
      'render element' => 'form',
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_tos_modal',
    ),
    'shareaholic_failure_modal' => array(
      'render element' => 'form',
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_failure_modal',
    ),
    'shareaholic_apps_configuration' => array(
      'render element' => 'form',
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_apps_configuration',
    ),
    'shareaholic_verify_api_key' => array(
      'path' => SHAREAHOLIC_DIR . '/templates',
      'template' => 'shareaholic_verify_api_key',
    ),
  );
}