You are here

function theme_acquia_lift_personalize_field_weight_field_wrapper in Acquia Lift Connector 7.2

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

Theme wrapper for the personalize option weight field.

File

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

Code

function theme_acquia_lift_personalize_field_weight_field_wrapper($variables) {
  $attributes = array(
    'class' => array(
      'element-invisible',
    ),
    'aria-hidden' => 'true',
  );
  return '<div' . drupal_attributes($attributes) . '>' . $variables['element']['#children'] . '</div>';
}