You are here

function theme_acquia_lift_feature_filter_links in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 theme/acquia_lift.theme.inc \theme_acquia_lift_feature_filter_links()

Theme function to output links for filtering by feature,

File

theme/acquia_lift.theme.inc, line 117
acquia_lift.theme.inc Provides theme functions for Acquia Lift.

Code

function theme_acquia_lift_feature_filter_links($variables) {
  $element = $variables['element'];
  $output = '<div>Filter by feature: ';
  $rendered = array();
  foreach ($element['links'] as $link) {
    $rendered[] = drupal_render($link);
  }
  $output .= implode(' | ', $rendered);
  $output .= '</div>';
  return $output;
}