Matcher.php in Linkit 8.4
Same filename and directory in other branches
Contains \Drupal\linkit\Annotation\Matcher.
Namespace
Drupal\linkit\AnnotationFile
src/Annotation/Matcher.phpView source
<?php
/**
* @file
* Contains \Drupal\linkit\Annotation\Matcher.
*/
namespace Drupal\linkit\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a matcher annotation object.
*
* Plugin Namespace: Plugin\Linkit\Matcher
*
* @see \Drupal\linkit\MatcherInterface
* @see \Drupal\linkit\MatcherBase
* @see \Drupal\linkit\MatcherManager
* @see plugin_api
*
* @Annotation
*/
class Matcher extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the matcher.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* The entity type that is managed by this matcher.
*
* @var string
*/
public $entity_type;
}