D6NodeDeriver
class D6NodeDeriver extends DeriverBase implements ContainerDeriverInterface (View source)
Deriver for Drupal 6 node and node revision migrations based on node types.
Traits
Provides functionality for migration derivers.
Properties
| protected array | $derivatives | List of derivative definitions. |
from DeriverBase |
| protected string | $basePluginId | The base plugin ID this derivative is for. |
|
| protected bool | $includeTranslations | Whether or not to include translations. |
|
| protected FieldDiscoveryInterface | $fieldDiscovery | The migration field discovery service. |
Methods
Gets the definition of a derivative plugin.
Gets the definition of all derivatives of a base plugin.
Returns a fully initialized instance of a source plugin.
D6NodeDeriver constructor.
Creates a new class instance.
Details
array
getDerivativeDefinition(string $derivative_id, array|PluginDefinitionInterface $base_plugin_definition)
Gets the definition of a derivative plugin.
array
getDerivativeDefinitions(array $base_plugin_definition)
Gets the definition of all derivatives of a base plugin.
static MigrateSourceInterface|RequirementsInterface
getSourcePlugin(string $source_plugin_id)
Returns a fully initialized instance of a source plugin.
__construct(string $base_plugin_id, bool $translations, FieldDiscoveryInterface $field_discovery)
D6NodeDeriver constructor.
static ContainerDeriverInterface
create(ContainerInterface $container, string $base_plugin_id)
Creates a new class instance.