class MigrateSourceWithAnnotationsMultipleProviders
A migration source plugin with annotations and multiple providers.
This plugin exists to test backwards compatibility of source plugin discovery for plugin classes using annotations. This class has an additional provider, because it extends a plugin in migrate_drupal. This class and its annotation should remain until annotation support is completely removed.
Plugin annotation
@MigrateSource(
id = "annotated_multiple_providers",
source_module = "migrate"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate\Plugin\migrate\source\SourcePluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateSourceInterface, \Drupal\migrate\Event\RollbackAwareInterface
- class \Drupal\migrate\Plugin\migrate\source\EmptySource extends \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
- class \Drupal\migrate_drupal\Plugin\migrate\source\EmptySource extends \Drupal\migrate\Plugin\migrate\source\EmptySource implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface, \Drupal\Component\Plugin\DependentPluginInterface uses \Drupal\Core\Entity\DependencyTrait
- class \Drupal\migrate_source_annotation_bc_test\Plugin\migrate\source\MigrateSourceWithAnnotationsMultipleProviders extends \Drupal\migrate_drupal\Plugin\migrate\source\EmptySource
- class \Drupal\migrate_drupal\Plugin\migrate\source\EmptySource extends \Drupal\migrate\Plugin\migrate\source\EmptySource implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface, \Drupal\Component\Plugin\DependentPluginInterface uses \Drupal\Core\Entity\DependencyTrait
- class \Drupal\migrate\Plugin\migrate\source\EmptySource extends \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
- class \Drupal\migrate\Plugin\migrate\source\SourcePluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateSourceInterface, \Drupal\migrate\Event\RollbackAwareInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of MigrateSourceWithAnnotationsMultipleProviders
File
-
core/
modules/ migrate/ tests/ modules/ migrate_source_annotation_bc_test/ src/ Plugin/ migrate/ source/ MigrateSourceWithAnnotationsMultipleProviders.php, line 22
Namespace
Drupal\migrate_source_annotation_bc_test\Plugin\migrate\sourceView source
class MigrateSourceWithAnnotationsMultipleProviders extends EmptySource {
/**
* {@inheritdoc}
*/
public function __toString() {
return 'Annotated multiple providers';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.