diff --git a/coder.module b/coder.module index b716c4450a2f15bffc502c55d021532592bca715..49d488fd6a0de78dcaf3d330d9eda44a67fb0557 100644 --- a/coder.module +++ b/coder.module @@ -1228,7 +1228,11 @@ function theme_coder_warning($warning, $severity_name, $lineno = 0, $line = '') // Extract description from warning if (is_array($warning)) { $description = $warning['#description']; + $link = $warning['#link']; $warning = $warning['#warning']; + if (isset($link)) { + $warning .= ' ('. l('Drupal Docs', $link) .')'; + } } if ($lineno) { $warning = t('Line @number: !warning', array('@number' => $lineno, '!warning' => $warning));