Source string
- This code should assign a string to the
@display_output
variable, which will be printed when the field is displayed. The raw computed value of the field is in@value
. Note: this code has no effect if you use the "Raw computed value" display formatter.Alternately, this code can be supplied by your own custom function named:
@display_func($field, $entity_field_item, $entity_lang, $langcode, $entity)
. Return the value to be displayed. Original value is in $entity_field_item['value'].
Used at the following places
- computed_field: 1.x-1.1.3 (1)