Version 1
[yaffs-website] / web / modules / contrib / pathauto / src / Annotation / AliasType.php
diff --git a/web/modules/contrib/pathauto/src/Annotation/AliasType.php b/web/modules/contrib/pathauto/src/Annotation/AliasType.php
new file mode 100644 (file)
index 0000000..d5081a7
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+
+namespace Drupal\pathauto\Annotation;
+
+use Drupal\Component\Annotation\Plugin;
+
+/**
+ * Defines an AliasType annotation.
+ *
+ * @Annotation
+ */
+class AliasType extends Plugin {
+
+  /**
+   * The plugin ID.
+   *
+   * @var string
+   */
+  public $id;
+
+  /**
+   * The human-readable name of the action plugin.
+   *
+   * @ingroup plugin_translatable
+   *
+   * @var \Drupal\Core\Annotation\Translation
+   */
+  public $label;
+
+  /**
+   * The token types.
+   *
+   * @var string[]
+   */
+  public $types = array();
+
+}