You are here

function theme_ajax_links_api_link in Ajaxify Drupal with JQuery Ajax 6

Same name and namespace in other branches
  1. 7 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 114
Make any links or create new links to load content to particular DIV via jQuery Ajax.

Code

function theme_ajax_links_api_link($title, $path, $target) {
  $link = l($title, $path, $options = array(
    'attributes' => array(
      'class' => 'ajax-link',
      'rel' => $target,
    ),
  ));
  return $link;
}