preprocessEntity

Runs the preprocessor of entity if registered, and returns its result.

Parameters

entity

The entity to process