function theme_rrssb_button_list in Ridiculously Responsive Social Sharing Buttons 7.2
Same name and namespace in other branches
- 7 rrssb.module \theme_rrssb_button_list()
Theme function for rrssb_button_list. Prints the list of all buttons.
1 theme call to theme_rrssb_button_list()
- rrssb_get_buttons in ./
rrssb.module - Returns a Drupal render array for the buttons.
File
- ./
rrssb.module, line 137
Code
function theme_rrssb_button_list($variables) {
$output = '<div class="rrssb">';
if ($prefix = variable_get('rrssb_prefix')) {
$output .= '<div class="rrssb-prefix">' . t($prefix) . '</div>';
}
$output .= '<ul class="rrssb-buttons">';
$output .= drupal_render_children($variables['element']);
$output .= '</ul></div>';
return $output;
}