function sharemessage_theme in Share Message 8
Implements hook_theme().
File
- ./
sharemessage.module, line 220 - New Sharing Module.
Code
function sharemessage_theme() {
return [
'sharemessage_addthis' => [
'variables' => [
'entity' => NULL,
'services' => [],
'additional_services' => FALSE,
'counter' => FALSE,
'attributes' => [],
'twitter_template' => NULL,
],
],
'sharemessage_sharrre' => [
'variables' => [
'services' => [],
'enable_hover' => TRUE,
'enable_counter' => TRUE,
'enable_tracking' => TRUE,
'shorter_total' => TRUE,
'attributes' => [],
'id' => 'test',
],
],
'sharemessage_socialshareprivacy' => [
'variables' => [
'attributes' => [],
],
],
];
}