function theme_ajax_links_api_link in Ajaxify Drupal with JQuery Ajax 7
Same name and namespace in other branches
- 6 ajax_links_api.module \theme_ajax_links_api_link()
Theme ajax_links_api.
1 theme call to theme_ajax_links_api_link()
- l_ajax in ./
ajax_links_api.module - Ajax links API.
File
- ./
ajax_links_api.module, line 132 - Make any links or create new links to load content to particular DIV via jQuery Ajax.
Code
function theme_ajax_links_api_link($element) {
$link = l($element['title'], $element['path'], $options = array(
'attributes' => array(
'class' => 'ajax-link',
'rel' => $element['target'],
),
));
return $link;
}