Version 1
[yaffs-website] / web / core / modules / aggregator / src / Annotation / AggregatorParser.php
diff --git a/web/core/modules/aggregator/src/Annotation/AggregatorParser.php b/web/core/modules/aggregator/src/Annotation/AggregatorParser.php
new file mode 100644 (file)
index 0000000..e338b1d
--- /dev/null
@@ -0,0 +1,48 @@
+<?php
+
+namespace Drupal\aggregator\Annotation;
+
+use Drupal\Component\Annotation\Plugin;
+
+/**
+ * Defines a Plugin annotation object for aggregator parser plugins.
+ *
+ * Plugin Namespace: Plugin\aggregator\parser
+ *
+ * For a working example, see \Drupal\aggregator\Plugin\aggregator\parser\DefaultParser
+ *
+ * @see \Drupal\aggregator\Plugin\AggregatorPluginManager
+ * @see \Drupal\aggregator\Plugin\ParserInterface
+ * @see \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase
+ * @see plugin_api
+ *
+ * @Annotation
+ */
+class AggregatorParser extends Plugin {
+
+  /**
+   * The plugin ID.
+   *
+   * @var string
+   */
+  public $id;
+
+  /**
+   * The title of the plugin.
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   *
+   * @ingroup plugin_translatable
+   */
+  public $title;
+
+  /**
+   * The description of the plugin.
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   *
+   * @ingroup plugin_translatable
+   */
+  public $description;
+
+}