Paragraph handler allows you to provide "Paragraph Handler" classes that can handle preprocessing and altering the render arrays of Paragraph entities when they are displayed. See example below:https://www.drupal.org/project/paragraph_handler