You are here

function seotools_format_text_data in Drupal SEO Tools 7

Same name and namespace in other branches
  1. 6 seotools.report.inc \seotools_format_text_data()
1 call to seotools_format_text_data()
seotools_generate_report_top_and_trends in ./seotools.report.inc
valid ids: keywords

File

./seotools.report.inc, line 1182

Code

function seotools_format_text_data($text) {
  if (strlen($text) > 40) {
    return substr($text, 0, 40);
  }
  return $text;
}