Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / commands / core / outputformat / message.inc
diff --git a/vendor/drush/drush/commands/core/outputformat/message.inc b/vendor/drush/drush/commands/core/outputformat/message.inc
deleted file mode 100644 (file)
index 725bcbe..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-/**
- * Output formatter 'message'
- *
- * @param $data
- *   The parameters for the render data
- * @param $metadata
- *   'message-template' - Provides the template string to use with dt().
- *
- * Code:
- *
- *   return array('a' => 1, 'b' => 2);
- *
- * Given 'message-template' == 'The first is !a and the second is !b',
- * output with --format=message:
- *
- *   The first is 1 and the second is 2
- */
-class drush_outputformat_message extends drush_outputformat {
-  function format($data, $metadata) {
-    $result = '';
-    if (isset($metadata['message-template'])) {
-      foreach ($data as $key => $value) {
-        $data_for_dt['!' . $key] = $value;
-      }
-      $result = dt($metadata['message-template'], $data_for_dt);
-    }
-    return $result;
-  }
-}