Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / output-formatters / src / Formatters / TableFormatter.php
index a467576b51de9c6942dc73958521a6cd9c1c9123..6d6cfd82bb1e87cd64c2e15a72ffc2c7245e65a3 100644 (file)
@@ -12,6 +12,7 @@ use Consolidation\OutputFormatters\StructuredData\TableDataInterface;
 use Consolidation\OutputFormatters\Transformations\ReorderFields;
 use Consolidation\OutputFormatters\Exception\IncompatibleDataException;
 use Consolidation\OutputFormatters\Transformations\WordWrapper;
+use Consolidation\OutputFormatters\Formatters\HumanReadableFormat;
 
 /**
  * Display a table of data with the Symfony Table class.
@@ -23,10 +24,11 @@ use Consolidation\OutputFormatters\Transformations\WordWrapper;
  * as two columns, with the key in the first column and the
  * value in the second column.
  */
-class TableFormatter implements FormatterInterface, ValidDataTypesInterface, RenderDataInterface
+class TableFormatter implements FormatterInterface, ValidDataTypesInterface, RenderDataInterface, MetadataFormatterInterface, HumanReadableFormat
 {
     use ValidDataTypesTrait;
     use RenderTableDataTrait;
+    use MetadataFormatterTrait;
 
     protected $fieldLabels;
     protected $defaultFields;