class NullDestination

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php \Drupal\migrate\Plugin\migrate\destination\NullDestination
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php \Drupal\migrate\Plugin\migrate\destination\NullDestination
  3. 10 core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php \Drupal\migrate\Plugin\migrate\destination\NullDestination

Provides null destination plugin.

Hierarchy

Expanded class hierarchy of NullDestination

File

core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php, line 11

Namespace

Drupal\migrate\Plugin\migrate\destination
View source
class NullDestination extends DestinationBase {
    
    /**
     * {@inheritdoc}
     */
    public function getIds() {
        return [];
    }
    
    /**
     * {@inheritdoc}
     */
    public function fields() {
        return [];
    }
    
    /**
     * {@inheritdoc}
     */
    public function import(Row $row, array $old_destination_id_values = []) {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
DestinationBase::$migration protected property The migration.
DestinationBase::$rollbackAction protected property The rollback action to be saved for the last imported item.
DestinationBase::$supportsRollback protected property Indicates whether the destination can be rolled back.
DestinationBase::checkRequirements public function Overrides RequirementsInterface::checkRequirements
DestinationBase::getDestinationModule public function Overrides MigrateDestinationInterface::getDestinationModule 1
DestinationBase::rollback public function Overrides MigrateDestinationInterface::rollback 2
DestinationBase::rollbackAction public function Overrides MigrateDestinationInterface::rollbackAction
DestinationBase::setRollbackAction protected function For a destination item being updated, set the appropriate rollback action.
DestinationBase::supportsRollback public function Overrides MigrateDestinationInterface::supportsRollback
DestinationBase::__construct public function Constructs an entity destination plugin. 8
NullDestination::fields public function Overrides MigrateDestinationInterface::fields
NullDestination::getIds public function Overrides MigrateDestinationInterface::getIds
NullDestination::import public function Overrides MigrateDestinationInterface::import
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin ID of the plugin instance. 2

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