class MigrateDestination in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Annotation/MigrateDestination.php \Drupal\migrate\Annotation\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 AnnotationInterface
- class \Drupal\migrate\Annotation\MigrateDestination
Expanded class hierarchy of MigrateDestination
See also
\Drupal\migrate\Plugin\MigrateDestinationInterface
\Drupal\migrate\Plugin\destination\DestinationBase
\Drupal\migrate\Plugin\MigrateDestinationPluginManager
\Drupal\migrate\Annotation\MigrateSource
\Drupal\migrate\Annotation\MigrateProcessPlugin
Related topics
28 classes are annotated with MigrateDestination
- BlockedIP in core/
modules/ ban/ src/ Plugin/ migrate/ destination/ BlockedIp.php - Destination for blocked IP addresses.
- Book in core/
modules/ book/ src/ Plugin/ migrate/ destination/ Book.php - Plugin annotation @MigrateDestination( id = "book", provider = "book" )
- Config in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - Persist data to the config system.
- DummyDestination in core/
modules/ migrate/ tests/ modules/ migrate_events_test/ src/ Plugin/ migrate/ destination/ DummyDestination.php - Plugin annotation @MigrateDestination( id = "dummy", requirements_met = true )
- Entity in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Entity.php - Plugin annotation @MigrateDestination( id = "entity", deriver = "Drupal\migrate\Plugin\Derivative\MigrateEntity" )
File
- core/
modules/ migrate/ src/ Annotation/ MigrateDestination.php, line 31 - Contains \Drupal\migrate\Annotation\MigrateDestination.
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;
/**
* A class to make the plugin derivative aware.
*
* @var string
*
* @see \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator
*/
public $derivative;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateDestination:: |
public | property | A class to make the plugin derivative aware. | |
MigrateDestination:: |
public | property | A unique identifier for the process plugin. | |
MigrateDestination:: |
public | property | Whether requirements are met. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
2 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 1 |