You are here

function views_timelinejs_text_long_tag in Views TimelineJS integration 7

Parses long text fields and returns full value as tag.

Parameters

array $value: Long text field value.

array $options: Optional configuration; not used.

Return value

string|boolean String containing tag or boolean FALSE if not found.

1 string reference to 'views_timelinejs_text_long_tag'
text_long_field.inc in plugins/tag_sources/text_long_field.inc

File

plugins/tag_sources/text_long_field.inc, line 25

Code

function views_timelinejs_text_long_tag($value, $options = array()) {
  if (isset($value) && $value != '') {
    return $value['value'];
  }
  else {
    return FALSE;
  }
}