You are here

RepositoryHandler.php in Workspace 8.2

File

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

namespace Drupal\workspace\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a RepositoryHandler annotation object.
 *
 * @see \Drupal\workspace\RepositoryHandlerInterface
 * @see \Drupal\workspace\RepositoryHandlerBase
 * @see \Drupal\workspace\RepositoryHandlerManager
 * @see plugin_api
 *
 * @Annotation
 */
class RepositoryHandler extends Plugin {

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

  /**
   * The human-readable name of the repository handler plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * A short description of the repository handler plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

  /**
   * The human-readable category.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $category = '';

}

Classes

Namesort descending Description
RepositoryHandler Defines a RepositoryHandler annotation object.