function theme_shariff in Shariff Social Media Buttons 7
Returns html for default the sharing buttons.
Parameters
array $variables: Array of variables to be used in the markup.
Return value
string HTML to be displayed.
2 theme calls to theme_shariff()
- shariff_block_view in ./
shariff.module - Implements hook_block_view().
- shariff_sharing_buttons_content_type_render in plugins/
content_types/ sharing_buttons.inc - Output function for the 'shariff_buttons' content type.
File
- ./
shariff.module, line 428 - Integrating Shariff library, providing settings form and block.
Code
function theme_shariff(array $variables) {
$output = '<div class="' . $variables['classes'] . '" ' . $variables['data_html'] . '>';
$output .= '</div>';
return $output;
}