function jquerymobile_preprocess_link in jQuery Mobile module 7.2
Implements template_preprocess_link().
Enable additonal attributes for link elements.
File
- ./
jquerymobile.module, line 319
Code
function jquerymobile_preprocess_link(&$variables) {
// Check if the link needs processing.
if (isset($variables['options']['jquerymobile']['button']) && TRUE === isset($variables['options']['jquerymobile']['button'])) {
_jquerymobile_button_settings($variables['options']['attributes'], $variables['options']['jquerymobile']);
}
}