You are here

function theme_drupalapi in Coder 7

Same name and namespace in other branches
  1. 5.2 coder.module \theme_drupalapi()
  2. 5 coder.module \theme_drupalapi()
  3. 6.2 coder.module \theme_drupalapi()
  4. 6 coder.module \theme_drupalapi()

Format link to Drupal API.

Parameters

$function: Function to link to.

$version: Version to link to.

178 theme calls to theme_drupalapi()
_coder_review_47_array2object_warning in coder_review/includes/coder_review_47.inc
_coder_review_47_conf_url_rewrite_warning in coder_review/includes/coder_review_47.inc
_coder_review_47_file_directory_path_warning in coder_review/includes/coder_review_47.inc
_coder_review_47_file_directory_temp_warning in coder_review/includes/coder_review_47.inc
_coder_review_47_format_name_warning in coder_review/includes/coder_review_47.inc

... See full list

File

coder_review/coder_review.module, line 2183

Code

function theme_drupalapi($variables) {
  $version = $variables['version'];
  $function = $variables['function'];
  return l($function, "http://api.drupal.org/api/function/{$function}/{$version}");
}