You are here

function _forward_column_width in Forward 7.3

Same name and namespace in other branches
  1. 5 forward.module \_forward_column_width()
  2. 6 forward.module \_forward_column_width()
  3. 7 forward.module \_forward_column_width()
  4. 7.2 forward.module \_forward_column_width()
1 call to _forward_column_width()
forward_reporting in ./forward.module
Callback function for log reporting

File

./forward.module, line 1577
Allows forwarding of entities by email, and provides a record of how often each has been forwarded.

Code

function _forward_column_width($column, $width = 35) {
  return drupal_strlen($column) > $width ? drupal_substr($column, 0, $width) . '...' : $column;
}