In views, when I add a field of type body, there are some options given: text_default, text_plain, text_trimmed.

How do these options filter the contents of the field and where can they be found in the code??


These are called 'text filters', and a text filter is made up of 'input formats'. Input formats are defined in hook_filter_info().

You can read more about text filters here: https://www.drupal.org/node/213156

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.