Custom data processors 

Implementing a custom data processor is out of scope in this reference. You can find information on the implementation in TYPO3 Explained.

Custom data processors can be used in TypoScript just like any other data processor:

EXT:my_extension/Configuration/Sets/Main/setup.typoscript
tt_content {
  myextension_dataproccustom =< lib.contentElement
  myextension_dataproccustom {
    templateName = DataProcCustom
    dataProcessing.10 = custom-category
    dataProcessing.10 {
      as = categories
    }
  }
}
Copied!

The available configuration depends on the implementation of the specific custom data processor.

Example output
Debug output of the variable "categories", an array of two category records, and the output of the template: a list of the categories "TypoScript" and "Fluid"