You are here

BackupMigrateDestinationPlugin.php in Backup and Migrate 5.0.x

File

src/Drupal/EntityPlugins/Annotation/BackupMigrateDestinationPlugin.php
View source
<?php

namespace Drupal\backup_migrate\Drupal\EntityPlugins\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a destination plugin annotation object.
 *
 * Plugin Namespace: Plugin\BackupMigrateDestinationPlugin.
 *
 * @Annotation
 */
class BackupMigrateDestinationPlugin 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;

}

Classes

Namesort descending Description
BackupMigrateDestinationPlugin Defines a destination plugin annotation object.