You are here

Matcher.php in Linkit 8.5

Same filename and directory in other branches
  1. 8.4 src/Annotation/Matcher.php

File

src/Annotation/Matcher.php
View source
<?php

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.
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $label;

}

Classes

Namesort descending Description
Matcher Defines a matcher annotation object.