function seven_element_info_alter
Implements hook_element_info_alter().
File
- 
              core/themes/ seven/ seven.theme, line 128 
Code
function seven_element_info_alter(&$type) {
  // We require the touchevents test for button styling.
  if (isset($type['button'])) {
    $type['button']['#attached']['library'][] = 'core/drupal.touchevents-test';
  }
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
