_statistics_link

Versions
4.7 – 7
_statistics_link($path, $width = 35)

It is possible to adjust the width of columns generated by the statistics module.

Code

modules/statistics/statistics.module, line 512

<?php
function _statistics_link($path, $width = 35) {
  $title = drupal_get_path_alias($path);
  $title = truncate_utf8($title, $width, FALSE, TRUE);
  return l($title, $path);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.