Yaffs site version 1.1
[yaffs-website] / web / modules / contrib / linkit / src / Annotation / Matcher.php
1 <?php
2
3 /**
4  * @file
5  * Contains \Drupal\linkit\Annotation\Matcher.
6  */
7
8 namespace Drupal\linkit\Annotation;
9
10 use Drupal\Component\Annotation\Plugin;
11
12 /**
13  * Defines a matcher annotation object.
14  *
15  * Plugin Namespace: Plugin\Linkit\Matcher
16  *
17  * @see \Drupal\linkit\MatcherInterface
18  * @see \Drupal\linkit\MatcherBase
19  * @see \Drupal\linkit\MatcherManager
20  * @see plugin_api
21  *
22  * @Annotation
23  */
24 class Matcher extends Plugin {
25
26   /**
27    * The plugin ID.
28    *
29    * @var string
30    */
31   public $id;
32
33   /**
34    * The human-readable name of the matcher.
35    *
36    * The string should be wrapped in a @Translation().
37    *
38    * @var \Drupal\Core\Annotation\Translation
39    */
40   public $label;
41
42   /**
43    * The entity type that is managed by this matcher.
44    *
45    * @var string
46    */
47   public $entity_type;
48
49 }