You are here

function jquerymobile_preprocess_button in jQuery Mobile module 7.2

Implements template_preprocess_button().

Enable additional attribute for button elements.

File

./jquerymobile.module, line 331

Code

function jquerymobile_preprocess_button(&$variables) {
  _jquerymobile_button_settings($variables['element']['attributes'], $variables['element'], '#');
}