1. 8.3.x core/modules/migrate/src/Annotation/MigrateDestination.php MigrateDestination
  2. 8.0.x core/modules/migrate/src/Annotation/MigrateDestination.php MigrateDestination
  3. 8.1.x core/modules/migrate/src/Annotation/MigrateDestination.php MigrateDestination
  4. 8.2.x core/modules/migrate/src/Annotation/MigrateDestination.php MigrateDestination
  5. 8.4.x core/modules/migrate/src/Annotation/MigrateDestination.php 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

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

Plugin API

Related topics

27 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
Provides Configuration Management destination plugin.
DefaultLangcode in core/modules/language/src/Plugin/migrate/destination/DefaultLangcode.php
Provides a destination plugin for the default langcode config.
DummyDestination in core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php
Plugin annotation @MigrateDestination( id = "dummy", requirements_met = true )

... See full list

File

core/modules/migrate/src/Annotation/MigrateDestination.php, line 26

Namespace

Drupal\migrate\Annotation
View 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;

}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description Overrides
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 Gets the value of an annotation. Overrides AnnotationInterface::get 2
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider 1
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2