class TestMigrateExecutable in Drupal 10
Same name in this branch
- 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable
- 10 core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php \Drupal\Tests\migrate\Kernel\TestMigrateExecutable
- 10 core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php \Drupal\Tests\migrate\Kernel\Plugin\TestMigrateExecutable
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php \Drupal\Tests\migrate\Kernel\Plugin\TestMigrateExecutable
MigrateExecutable test class.
Hierarchy
- class \Drupal\migrate\MigrateExecutable implements MigrateExecutableInterface uses StringTranslationTrait
- class \Drupal\Tests\migrate\Kernel\Plugin\TestMigrateExecutable
Expanded class hierarchy of TestMigrateExecutable
File
- core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ LogTest.php, line 190
Namespace
Drupal\Tests\migrate\Kernel\PluginView source
class TestMigrateExecutable extends MigrateExecutable {
/**
* The configuration values of the source.
*
* @var array
*/
public $sourceIdValues;
/**
* Get the ID map from the current migration.
*
* @return \Drupal\migrate\Plugin\MigrateIdMapInterface
* The ID map.
*/
public function getIdMap() {
return parent::getIdMap();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateExecutable:: |
protected | property | An array of counts. Initially used for cache hit/miss tracking. | |
MigrateExecutable:: |
protected | property | The event dispatcher. | |
MigrateExecutable:: |
protected | property | The PHP memory_limit expressed in bytes. | |
MigrateExecutable:: |
protected | property | The ratio of the memory limit at which an operation will be interrupted. | |
MigrateExecutable:: |
public | property | Migration message service. | |
MigrateExecutable:: |
protected | property | The configuration of the migration to do. | |
MigrateExecutable:: |
protected | property | The source. | |
MigrateExecutable:: |
protected | property | Status of one row. | |
MigrateExecutable:: |
protected | function | Tries to reclaim memory. | 1 |
MigrateExecutable:: |
protected | function | Checks for exceptional conditions, and display feedback. | |
MigrateExecutable:: |
protected | function | Fetches the key array for the current source record. | |
MigrateExecutable:: |
protected | function | Generates a string representation for the given byte count. | 1 |
MigrateExecutable:: |
protected | function | Gets the event dispatcher. | |
MigrateExecutable:: |
protected | function | Returns the memory usage so far. | 1 |
MigrateExecutable:: |
protected | function | Returns the source. | 1 |
MigrateExecutable:: |
protected | function | Takes an Exception object and both saves and displays it. | 1 |
MigrateExecutable:: |
public | function |
Performs an import operation - migrate items from source to destination. Overrides MigrateExecutableInterface:: |
|
MigrateExecutable:: |
protected | function | Tests whether we've exceeded the desired memory threshold. | 1 |
MigrateExecutable:: |
protected | function | Runs a process pipeline. | |
MigrateExecutable:: |
public | function |
Processes a row. Overrides MigrateExecutableInterface:: |
|
MigrateExecutable:: |
public | function |
Performs a rollback operation - remove previously-imported items. Overrides MigrateExecutableInterface:: |
|
MigrateExecutable:: |
public | function |
Passes messages through to the map class. Overrides MigrateExecutableInterface:: |
|
MigrateExecutable:: |
public | function | Constructs a MigrateExecutable and verifies and sets the memory limit. | |
StringTranslationTrait:: |
protected | property | The string translation service. | 3 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 1 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
TestMigrateExecutable:: |
public | property |
The configuration values of the source. Overrides MigrateExecutable:: |
|
TestMigrateExecutable:: |
public | function |
Get the ID map from the current migration. Overrides MigrateExecutable:: |