You are here

PluginSelector.php in Plugin 8.2

File

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

namespace Drupal\plugin\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Provides a plugin selector plugin annotation.
 *
 * @Annotation
 */
class PluginSelector extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The translated human-readable plugin name.
   *
   * @var string
   */
  public $label;

}

Classes

Namesort descending Description
PluginSelector Provides a plugin selector plugin annotation.