diff modules/contrib/migrate_plus/src/Annotation/DataParser.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/contrib/migrate_plus/src/Annotation/DataParser.php	Wed Nov 29 16:09:58 2017 +0000
@@ -0,0 +1,37 @@
+<?php
+
+namespace Drupal\migrate_plus\Annotation;
+
+use Drupal\Component\Annotation\Plugin;
+
+/**
+ * Defines a data parser annotation object.
+ *
+ * Plugin Namespace: Plugin\migrate_plus\data_parser
+ *
+ * @see \Drupal\migrate_plus\DataParserPluginBase
+ * @see \Drupal\migrate_plus\DataParserPluginInterface
+ * @see \Drupal\migrate_plus\DataParserPluginManager
+ * @see plugin_api
+ *
+ * @Annotation
+ */
+class DataParser extends Plugin {
+
+  /**
+   * The plugin ID.
+   *
+   * @var string
+   */
+  public $id;
+
+  /**
+   * The title of the plugin.
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   *
+   * @ingroup plugin_translatable
+   */
+  public $title;
+
+}