Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / output-formatters / src / Formatters / RenderDataInterface.php
1 <?php
2 namespace Consolidation\OutputFormatters\Formatters;
3
4 use Consolidation\OutputFormatters\Options\FormatterOptions;
5
6 interface RenderDataInterface
7 {
8     /**
9      * Convert the contents of the output data just before it
10      * is to be printed, prior to output but after restructuring
11      * and validation.
12      *
13      * @param mixed $originalData
14      * @param mixed $restructuredData
15      * @param FormatterOptions $options Formatting options
16      * @return mixed
17      */
18     public function renderData($originalData, $restructuredData, FormatterOptions $options);
19 }