class MigrateDestination
Same name in this branch
- 10 core/modules/migrate/src/Attribute/MigrateDestination.php \Drupal\migrate\Attribute\MigrateDestination
Same name in other branches
- 9 core/modules/migrate/src/Annotation/MigrateDestination.php \Drupal\migrate\Annotation\MigrateDestination
- 8.9.x core/modules/migrate/src/Annotation/MigrateDestination.php \Drupal\migrate\Annotation\MigrateDestination
- 11.x core/modules/migrate/src/Annotation/MigrateDestination.php \Drupal\migrate\Annotation\MigrateDestination
- 11.x core/modules/migrate/src/Attribute/MigrateDestination.php \Drupal\migrate\Attribute\MigrateDestination
Defines a migration destination plugin annotation object.
Plugin Namespace: Plugin\migrate\destination
For a working example, see \Drupal\migrate\Plugin\migrate\destination\UrlAlias
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\migrate\Annotation\MigrateDestination extends \Drupal\Component\Annotation\Plugin
Expanded class hierarchy of MigrateDestination
See also
\Drupal\migrate\Plugin\MigrateDestinationInterface
\Drupal\migrate\Plugin\migrate\destination\DestinationBase
\Drupal\migrate\Plugin\MigrateDestinationPluginManager
\Drupal\migrate\Annotation\MigrateSource
\Drupal\migrate\Annotation\MigrateProcessPlugin
Related topics
File
-
core/
modules/ migrate/ src/ Annotation/ MigrateDestination.php, line 26
Namespace
Drupal\migrate\AnnotationView source
class MigrateDestination extends Plugin {
/**
* A unique identifier for the process plugin.
*
* @var string
*/
public $id;
/**
* Whether requirements are met.
*
* If TRUE and a 'provider' key is present in the annotation then the
* default destination plugin manager will set this to FALSE if the
* provider (module/theme) doesn't exist.
*
* @var bool
*/
public $requirements_met = TRUE;
/**
* Identifies the system handling the data the destination plugin will write.
*
* The destination plugin itself determines how the value is used. For
* example, Migrate Drupal's destination plugins expect destination_module to
* be the name of a module that must be installed on the destination.
*
* @var string
*/
public $destination_module;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
MigrateDestination::$destination_module | public | property | Identifies the system handling the data the destination plugin will write. | ||
MigrateDestination::$id | public | property | A unique identifier for the process plugin. | ||
MigrateDestination::$requirements_met | public | property | Whether requirements are met. | ||
Plugin::$definition | protected | property | The plugin definition read from the class annotation. | 1 | |
Plugin::get | public | function | Overrides AnnotationInterface::get | 6 | |
Plugin::getClass | public | function | Overrides AnnotationInterface::getClass | 1 | |
Plugin::getId | public | function | Overrides AnnotationInterface::getId | ||
Plugin::getProvider | public | function | Overrides AnnotationInterface::getProvider | 1 | |
Plugin::parse | protected | function | Parses an annotation into its definition. | ||
Plugin::setClass | public | function | Overrides AnnotationInterface::setClass | 1 | |
Plugin::setProvider | public | function | Overrides AnnotationInterface::setProvider | ||
Plugin::__construct | public | function | Constructs a Plugin object. | 3 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.