function theme_addthis_wrapper in AddThis 7.4
Theme function 'theme_addthis_wrapper'.
2 theme calls to theme_addthis_wrapper()
- addthis_displays_addthis_display_markup__addthis_basic_button in addthis_displays/
addthis_displays.addthis.inc - Implements hook_addthis_display_markup__[display]().
- addthis_displays_addthis_display_markup__addthis_basic_toolbox in addthis_displays/
addthis_displays.addthis.inc - Implements hook_addthis_display_markup__[display]().
File
- ./
addthis.module, line 190
Code
function theme_addthis_wrapper($variables) {
$element = $variables['addthis_wrapper'];
$output = '<' . $element['#tag'] . drupal_attributes($element['#attributes']) . '>';
$children = element_children($element);
if (count($children) > 0) {
foreach ($children as $child) {
$output .= render($element[$child]);
}
}
$output .= '</' . $element['#tag'] . ">\n";
return $output;
}