function views_handler_field::render_trim_text

cis7 views_handler_field::render_trim_text($alter, $value)
cle7 views_handler_field::render_trim_text($alter, $value)
elmsmedia7 views_handler_field::render_trim_text($alter, $value)
icor7 views_handler_field::render_trim_text($alter, $value)
meedjum_blog7 views_handler_field::render_trim_text($alter, $value)
mooc7 views_handler_field::render_trim_text($alter, $value)

Trim the field down to the specified length.

1 call to views_handler_field::render_trim_text()
views_handler_field::render_text in sites/all/modules/ulmus/views/handlers/
Perform an advanced text render for the item.


sites/all/modules/ulmus/views/handlers/, line 1214


Base field handler that has no options and renders an unformatted field.


function render_trim_text($alter, $value) {
  if (!empty($alter['strip_tags'])) {
    // NOTE: It's possible that some external fields might override the
    // element type so if someone from, say, CCK runs into a bug here,
    // this may be why =)
    $this->definition['element type'] = 'span';
  return views_trim_text($alter, $value);