<?php

namespace Drupal\backup_migrate\Drupal\EntityPlugins\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an source plugin annotation object.
 *
 * Plugin Namespace: Plugin\BackupMigrateSourcePlugin.
 *
 * @Annotation
 */
class BackupMigrateSourcePlugin extends Plugin {

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

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

  /**
   * The description of the source plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;


  /**
   * The class of the Backup and Migrate source object.
   *
   * @var string
   */
  public $wrapped_class;

  /**
   * Whether new items of this type can be created.
   *
   * @var bool
   */
  public $locked;

}
