class D6NodeTranslation

Same name and namespace in other branches
  1. 11.x core/modules/node/src/Plugin/migrate/D6NodeTranslation.php \Drupal\node\Plugin\migrate\D6NodeTranslation

Migration plugin for the Drupal 6 node translations.

Hierarchy

Expanded class hierarchy of D6NodeTranslation

2 string references to 'D6NodeTranslation'
d6_node_complete.yml in core/modules/node/migrations/d6_node_complete.yml
core/modules/node/migrations/d6_node_complete.yml
d6_node_translation.yml in core/modules/content_translation/migrations/d6_node_translation.yml
core/modules/content_translation/migrations/d6_node_translation.yml

File

core/modules/node/src/Plugin/migrate/D6NodeTranslation.php, line 11

Namespace

Drupal\node\Plugin\migrate
View source
class D6NodeTranslation extends Migration implements MigrationWithFollowUpInterface {
  
  /**
   * {@inheritdoc}
   */
  public function generateFollowUpMigrations() {
    $this->migrationPluginManager
      ->clearCachedDefinitions();
    return $this->migrationPluginManager
      ->createInstances('d6_entity_reference_translation');
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
D6NodeTranslation::generateFollowUpMigrations public function Generates follow-up migrations. Overrides MigrationWithFollowUpInterface::generateFollowUpMigrations
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function
DependencySerializationTrait::__wakeup public function #[\ReturnTypeWillChange]
MessengerTrait::$messenger protected property The messenger. 7
MessengerTrait::$messenger protected property The messenger. 7
MessengerTrait::messenger public function Gets the messenger. 7
MessengerTrait::messenger public function Gets the messenger. 7
MessengerTrait::setMessenger public function Sets the messenger.
Migration::$audit protected property Whether the migration is auditable.
Migration::$dependencies protected property The migration's configuration dependencies.
Migration::$destination protected property The destination configuration, with at least a 'plugin' key.
Migration::$destinationIds protected property The destination identifiers.
Migration::$destinationPlugin protected property The destination plugin.
Migration::$destinationPluginManager protected property The destination plugin manager.
Migration::$id protected property The migration ID (machine name).
Migration::$idMap protected property The identifier map data.
Migration::$idMapPlugin protected property The identifier map.
Migration::$idMapPluginManager protected property The ID map plugin manager.
Migration::$label protected property The human-readable label for the migration.
Migration::$migrationPluginManager protected property The migration plugin manager for loading other migration plugins.
Migration::$migration_dependencies protected property These migrations, if run, must be executed before this migration.
Migration::$migration_tags protected property An optional list of tags, used by the plugin manager for filtering.
Migration::$process protected property The configuration describing the process plugins.
Migration::$processPluginManager protected property The process plugin manager.
Migration::$processPlugins protected property The cached process plugins.
Migration::$requirements protected property These migrations must be already executed before this migration can run.
Migration::$row protected property The plugin ID for the row.
Migration::$source protected property The source configuration, with at least a 'plugin' key.
Migration::$sourceIds protected property The source identifiers.
Migration::$sourcePlugin protected property The source plugin.
Migration::$sourcePluginManager protected property The source plugin manager.
Migration::$sourceRowStatus protected property The source_row_status for the current map row.
Migration::$statusLabels protected property Labels corresponding to each defined status.
Migration::$trackLastImported protected property Track time of last import if TRUE.
Migration::allRowsProcessed public function
Migration::checkRequirements public function
Migration::clearInterruptionResult public function
Migration::create public static function 1
Migration::create public static function 1
Migration::findMigrationDependencies protected function Find migration dependencies from migration_lookup and sub_process plugins.
Migration::getDestinationConfiguration public function
Migration::getDestinationIds public function
Migration::getDestinationPlugin public function
Migration::getIdMap public function
Migration::getIdMapPlugin public function Retrieves the ID map plugin.
Migration::getInterruptionResult public function
Migration::getMigrationDependencies public function
Migration::getMigrationPluginManager protected function Gets the migration plugin manager.
Migration::getMigrationTags public function
Migration::getPluginDefinition public function
Migration::getProcess public function 1
Migration::getProcess public function 1
Migration::getProcessNormalized protected function Resolve shorthands into a list of plugin configurations.
Migration::getProcessPlugins public function
Migration::getRequirements public function
Migration::getSourceConfiguration public function
Migration::getSourcePlugin public function
Migration::getStatus public function
Migration::getStatusLabel public function
Migration::getTrackLastImported public function
Migration::id public function
Migration::interruptMigration public function
Migration::isAuditable public function
Migration::isTrackLastImported public function
Migration::label public function
Migration::mergeProcessOfProperty public function
Migration::set public function
Migration::setProcess public function
Migration::setProcessOfProperty public function
Migration::setStatus public function
Migration::setTrackLastImported public function
Migration::__construct public function Constructs a Migration. 1
Migration::__construct public function Constructs a Migration. 1
MigrationInterface::MESSAGE_ERROR constant Migration error.
MigrationInterface::MESSAGE_INFORMATIONAL constant Migration info.
MigrationInterface::MESSAGE_NOTICE constant Migration notice.
MigrationInterface::MESSAGE_WARNING constant Migration warning.
MigrationInterface::RESULT_COMPLETED constant All records have been processed.
MigrationInterface::RESULT_DISABLED constant This migration is disabled, skipping.
MigrationInterface::RESULT_FAILED constant The process had a fatal error.
MigrationInterface::RESULT_INCOMPLETE constant The process has stopped itself (e.g., the memory limit is approaching).
MigrationInterface::RESULT_SKIPPED constant Dependencies are unfulfilled - skip the process.
MigrationInterface::RESULT_STOPPED constant The process was stopped externally (e.g., via drush migrate-stop).
MigrationInterface::STATUS_DISABLED constant The migration has been disabled.
MigrationInterface::STATUS_IDLE constant The migration is currently not running.
MigrationInterface::STATUS_IMPORTING constant The migration is currently importing.
MigrationInterface::STATUS_ROLLING_BACK constant The migration is currently being rolled back.
MigrationInterface::STATUS_STOPPING constant The migration is being stopped.
PluginBase::$configuration protected property Configuration information passed into the plugin.
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function
PluginBase::getDerivativeId public function
PluginBase::getPluginId public function
PluginBase::isConfigurable public function Determines if the plugin is configurable.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.