Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block_content / src / Plugin / migrate / source / d6 / BoxTranslation.php
diff --git a/web/core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php b/web/core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php
new file mode 100644 (file)
index 0000000..23cf118
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\block_content\Plugin\migrate\source\d6;
+
+use Drupal\block_content\Plugin\migrate\source\d7\BlockCustomTranslation as D7BlockCustomTranslation;
+
+/**
+ * Gets Drupal 6 i18n custom block translations from database.
+ *
+ * @MigrateSource(
+ *   id = "d6_box_translation",
+ *   source_module = "i18nblocks"
+ * )
+ */
+class BoxTranslation extends D7BlockCustomTranslation {
+
+  /**
+   * Drupal 6 table names.
+   */
+  const CUSTOM_BLOCK_TABLE = 'boxes';
+  const I18N_STRING_TABLE = 'i18n_strings';
+
+}