3 namespace Drupal\migrate\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a migration destination plugin annotation object.
10 * Plugin Namespace: Plugin\migrate\destination
12 * For a working example, see
13 * \Drupal\migrate\Plugin\migrate\destination\UrlAlias
15 * @see \Drupal\migrate\Plugin\MigrateDestinationInterface
16 * @see \Drupal\migrate\Plugin\migrate\destination\DestinationBase
17 * @see \Drupal\migrate\Plugin\MigrateDestinationPluginManager
18 * @see \Drupal\migrate\Annotation\MigrateSource
19 * @see \Drupal\migrate\Annotation\MigrateProcessPlugin
26 class MigrateDestination extends Plugin {
29 * A unique identifier for the process plugin.
36 * Whether requirements are met.
38 * If TRUE and a 'provider' key is present in the annotation then the
39 * default destination plugin manager will set this to FALSE if the
40 * provider (module/theme) doesn't exist.
44 public $requirements_met = TRUE;
47 * Identifies the system handling the data the destination plugin will write.
49 * The destination plugin itself determines how the value is used. For
50 * example, Migrate Drupal's destination plugins expect destination_module to
51 * be the name of a module that must be installed on the destination.
55 public $destination_module;