function better_social_sharing_buttons_theme in Better Social Sharing Buttons 8.3
Same name and namespace in other branches
- 8 better_social_sharing_buttons.module \better_social_sharing_buttons_theme()
Implements hook_theme().
Defines template files for the social sharing buttons module.
File
- ./
better_social_sharing_buttons.module, line 18 - Add template file for the social buttons.
Code
function better_social_sharing_buttons_theme($existing, $type, $theme, $path) {
return [
'better_social_sharing_buttons' => [
'variables' => [
'items' => '',
],
'template' => 'better-social-sharing-buttons',
],
];
}