1fd51d70e5d9218c126c75b3b59ce3899cda9afb
[yaffs-website] / web / core / modules / migrate / src / Annotation / MigrateDestination.php
1 <?php
2
3 namespace Drupal\migrate\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8  * Defines a migration destination plugin annotation object.
9  *
10  * Plugin Namespace: Plugin\migrate\destination
11  *
12  * For a working example, see
13  * \Drupal\migrate\Plugin\migrate\destination\UrlAlias
14  *
15  * @see \Drupal\migrate\Plugin\MigrateDestinationInterface
16  * @see \Drupal\migrate\Plugin\destination\DestinationBase
17  * @see \Drupal\migrate\Plugin\MigrateDestinationPluginManager
18  * @see \Drupal\migrate\Annotation\MigrateSource
19  * @see \Drupal\migrate\Annotation\MigrateProcessPlugin
20  * @see plugin_api
21  *
22  * @ingroup migration
23  *
24  * @Annotation
25  */
26 class MigrateDestination extends Plugin {
27
28   /**
29    * A unique identifier for the process plugin.
30    *
31    * @var string
32    */
33   public $id;
34
35   /**
36    * Whether requirements are met.
37    *
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.
41    *
42    * @var bool
43    */
44   public $requirements_met = TRUE;
45
46 }