You are here

function _coder_6x_l_tests in Coder 5.2

File

tests/coder_6x.inc, line 17
This file implements tests for the Drupal 6.x upgrade.

Code

function _coder_6x_l_tests() {
  $link = l(t($display_vars['back_to_top']), 'faq', array(
    'fragment' => '',
  ));

  // this is ok
  $link = l(t($display_vars['back_to_top']), 'faq', NULL, NULL);

  // this is not ok
  $output = l($image, $item['filepath'], $link_attributes, NULL, NULL, FALSE, TRUE);

  // Not ok.
}