Search for rollback

  1. Search 7.x for rollback
  2. Search 9.5.x for rollback
  3. Search 10.3.x for rollback
  4. Search 11.x for rollback
  5. Other projects
Title Object type File name Summary
Config::rollback function core/modules/migrate/src/Plugin/migrate/destination/Config.php Delete the specified destination object from the target Drupal.
Connection::$willRollback property core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Whether or not the active transaction (if any) will be rolled back.
Connection::rollBack function core/lib/Drupal/Core/Database/Connection.php Rolls back the transaction entirely or to a named savepoint.
Connection::rollbackSavepoint function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Rollback a savepoint by name if it exists.
DeleteTruncateTest::testTruncateTransactionRollback function core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php Confirms that transaction rollback voids a truncate operation.
DestinationBase::$rollbackAction property core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php The rollback action to be saved for the last imported item.
DestinationBase::$supportsRollback property core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php Indicates whether the destination can be rolled back.
DestinationBase::rollback function core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php Delete the specified destination object from the target Drupal.
DestinationBase::rollbackAction function core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php The rollback action for the last imported item.
DestinationBase::setRollbackAction function core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php For a destination item being updated, set the appropriate rollback action.
DestinationBase::supportsRollback function core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php Whether the destination can be rolled back or not.
EndOfTransactionQueriesTest::testEntitySaveRollback function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
Entity::rollback function core/modules/migrate/src/Plugin/migrate/destination/Entity.php Delete the specified destination object from the target Drupal.
EntityConfigBase::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php Delete the specified destination object from the target Drupal.
EntityContentBase::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Delete the specified destination object from the target Drupal.
EntityContentComplete::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityContentComplete.php Delete the specified destination object from the target Drupal.
EntityCrudHookTest::testEntityRollback function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests rollback from failed entity save.
EntityFieldStorageConfig::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityFieldStorageConfig.php Delete the specified destination object from the target Drupal.
EntityViewMode::rollback function core/modules/migrate/src/Plugin/migrate/destination/EntityViewMode.php Delete the specified destination object from the target Drupal.
MigrateConfigRollbackTest class core/modules/migrate/tests/src/Kernel/MigrateConfigRollbackTest.php Tests rolling back of configuration objects.
MigrateConfigRollbackTest.php file core/modules/migrate/tests/src/Kernel/MigrateConfigRollbackTest.php
MigrateConfigRollbackTest::$modules property core/modules/migrate/tests/src/Kernel/MigrateConfigRollbackTest.php Modules to enable.
MigrateConfigRollbackTest::testConfigRollback function core/modules/migrate/tests/src/Kernel/MigrateConfigRollbackTest.php Tests rolling back configuration.
MigrateDestinationInterface::rollback function core/modules/migrate/src/Plugin/MigrateDestinationInterface.php Delete the specified destination object from the target Drupal.
MigrateDestinationInterface::rollbackAction function core/modules/migrate/src/Plugin/MigrateDestinationInterface.php The rollback action for the last imported item.
MigrateDestinationInterface::supportsRollback function core/modules/migrate/src/Plugin/MigrateDestinationInterface.php Whether the destination can be rolled back or not.
MigrateEvents::POST_ROLLBACK constant core/modules/migrate/src/Event/MigrateEvents.php Name of the event fired when finishing a migration rollback operation.
MigrateEvents::PRE_ROLLBACK constant core/modules/migrate/src/Event/MigrateEvents.php Name of the event fired when beginning a migration rollback operation.
MigrateExecutable::rollback function core/modules/migrate/src/MigrateExecutable.php Performs a rollback operation - remove previously-imported items.
MigrateExecutableInterface::rollback function core/modules/migrate/src/MigrateExecutableInterface.php Performs a rollback operation - remove previously-imported items.
MigrateIdMapInterface::ROLLBACK_DELETE constant core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Indicates that the data for the row is to be deleted.
MigrateIdMapInterface::ROLLBACK_PRESERVE constant core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Indicates that the data for the row is to be preserved.
MigrateNodeCompleteTest::testRollbackNodeComplete function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php Tests rollback of the complete node migration.
MigrateRollbackEntityConfigTest class core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php Tests rolling back of imports.
MigrateRollbackEntityConfigTest.php file core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php
MigrateRollbackEntityConfigTest::$modules property core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php Modules to enable.
MigrateRollbackEntityConfigTest::setUp function core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php
MigrateRollbackEntityConfigTest::testConfigEntityRollback function core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php Tests rolling back configuration entity translations.
MigrateRollbackEvent class core/modules/migrate/src/Event/MigrateRollbackEvent.php Wraps a pre- or post-rollback event for event listeners.
MigrateRollbackEvent.php file core/modules/migrate/src/Event/MigrateRollbackEvent.php
MigrateRollbackEvent::$migration property core/modules/migrate/src/Event/MigrateRollbackEvent.php Migration entity.
MigrateRollbackEvent::getMigration function core/modules/migrate/src/Event/MigrateRollbackEvent.php Gets the migration entity.
MigrateRollbackEvent::__construct function core/modules/migrate/src/Event/MigrateRollbackEvent.php Constructs an rollback event object.
MigrateRollbackTest class core/modules/migrate/tests/src/Kernel/MigrateRollbackTest.php Tests rolling back of imports.
MigrateRollbackTest.php file core/modules/migrate/tests/src/Kernel/MigrateRollbackTest.php
MigrateRollbackTest::$modules property core/modules/migrate/tests/src/Kernel/MigrateRollbackTest.php Modules to enable.
MigrateRollbackTest::setUp function core/modules/migrate/tests/src/Kernel/MigrateRollbackTest.php
MigrateRollbackTest::testRollback function core/modules/migrate/tests/src/Kernel/MigrateRollbackTest.php Tests rolling back configuration and content entities.
NodeCreationTest::getWatchdogIdsForFailedExplicitRollback function core/modules/node/tests/src/Functional/NodeCreationTest.php Gets the log records with the explicit rollback failed exception message.
NodeCreationTest::getWatchdogIdsForTestExceptionRollback function core/modules/node/tests/src/Functional/NodeCreationTest.php Gets the watchdog IDs of the records with the rollback exception message.

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